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

SecurityException : privilege 'Write' is not granted when copy/pasting a document, while the user only need ADD_CHILDREN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.5
    • Fix Version/s: 5.1.5, 5.2 M2
    • Component/s: Core

      Description

      The user can create documents in the workspace through the UI, but not by copy/pasting, this is due to a permission check into the method AbstractSession.copy() : checkPermission(dstdoc, WRITE).
      The user has the permissions ADD_CHILDREN, WRITE_PROPERTIES... but not WRITE.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified