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

Delete permanently option in the document view only available with ManageEverything permission

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: HOTFIX_10.10_2.4, 10.10, 3.0.7
    • Fix Version/s: 2.4.58, 3.0.10
    • Component/s: Web UI

      Description

      Description

      The "delete permanently" option is available only for users having the manage everything option.

      It seems to be hardcoded in the webUI (10.10):

      https://github.com/nuxeo/nuxeo-web-ui/blob/maintenance-3.0.x/elements/nuxeo-document-info-bar/nuxeo-document-info-bar.js#L156

      Steps to reproduce

      1. Create a workspace with at least 2 documents
      2. login with a user having read, Remove (including RemoveChildren), and add children at workspace level
      3. delete (push to trash) 2 documents from this workspace
      4. Go to the trash
      5. View the trashed document
      6. Go back to the workspace view
      7. click on the trash tab
      8. Click on the empty trash

       

      Expected behavior

      5. The "delete permanently" action is available and works fine as asoon as I have the Remove permission

      7. The 'empty trash' action is available

      8. all the documents are deleted

      Obseved behavior

      5. The "delete permanently" action is NOT available

      7. The 'empty trash' action is available

      8. all the documents are deleted

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 4 hours
                4h