Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1956

When approving a publication with restricted rights user there is an access permission error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.1.6
    • Component/s: None

      Description

      How to reproduce the bug :

      -have 2 users, first user has access in a workspace, the second one is a Section manager but has no access at all in the first user workspace.

      -the first user will create a doc in his workspace and submit it in a Section

      -the second user will go on the submitted publication in order to approve it

      =>when clicking on approve there is an error (READ right is not granted to the current user)

      Explanation : when approving a part of code will try to get access on the "source" document (the document from which come the submitted publication) but as said earlier, the second user has not access at all on this document so pops up an error.

      Solution : open a non restricted session before executing the incriminated bloc of code, then close it.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: