Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-132

Display the option to remove a document from a collection for users with Write permission

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.51, 2.4.43, 3.0.3, 3.1.x
    • Component/s: UI
    • Release Notes Summary:
      A user with Write permission can remove documents from a collection.
    • Backlog priority:
      600

      Description

      What: a user having the default Write permission (including Remove) on a Collection document is not proposed the choice to delete a document from a Collection.
      This choice exists in JSF.

      How to reproduce

      1. Install Nuxeo 9.10+HFs + nuxeo-web-ui + nuxeo-jsf-ui + nuxeo-dam + nuxeo-showcase-content and boot and login as Administrator
      2. create a user "test" and give it a permission Read-Write on a collection such as workspaces/Nuxeo Marketing Content/Nuxeo Login Screens Collection
      3. loout from Administrator and login as test user
      4. go in JSF in the same collection, and select a document in the collection => at the bottom of the page, a Remove from collection appears
      5. go in WebUI in the same collection, and select a document in the collection => the choice to remove a document from the collection is not given in the top contextual icons.
      6. logout from test user and login as Administrator or as a user with Manage Everything permission on the Collection
      7. go in WebUI in the same collection, and select a document in the collection => the choice to remove a document from the collection is given in the top contextual icons.

      Expected Results
      With a read-write-remove permission, you should be able to remove a document from a collection using the graphical interface.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h