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

Add an operation for setting permissions for a given user or group on a document or a document list

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-HF02, 5.9.1
    • Component/s: Rest API
    • Backlog priority:
      570
    • Sprint:
      Sprint S2
    • Story Points:
      5

      Description

      The operation accepts document, documents, and produces document, or documents.
      Its parameters are :

      • ACL name
      • principals: (string list)
      • permissions (string list)

      The permission are strings (ReadWrite, Write) and the operation makes sure that the given principals have those permissions on this ACL. It may "canonicalize" the ACL, by deleting some ACEs that would be useless.

      Test case:
      In DM UI, I deny Read to John on a document
      with this operation, I do a call that add ReadWrite to John.
      I go to DM UI again, do an XML export of the document, I can see that the deny read has disappeared from the ACE list.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified Time Not Required
                Not Specified