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

Synchonous eventlistener on "beforeDocumentSecurityModification" should be able to alter ACP

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.5
    • Component/s: Core

      Description

      Inside the CoreSession an event is fired before ACP update.

      The new ACP is sent inside the Event context, but the listener can not alter the ACP since this is actually a clone of the source ACP.

      To make this consistent with other "before" listeners, we should remove the clone so that Listener can act for real.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: