Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5182

CugAccessControlManager.removePolicy should remove the mixin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.15, 1.6.0
    • Component/s: authorization-cug
    • Labels:
      None

      Description

      For consistency with CugAccessControlManager.setPolicy it would be desirable to remove the mixin type upon CugAccessControlManager.removePolicy

      Note: If the rep:CugMixin is part of the primary type of the access controlled tree, the mixin won't be removed which is also consistent with the setter, where the mixin only gets added if it is not yet present (either by explicitly adding it or by nt inheritance).

        Attachments

          Activity

            People

            • Assignee:
              angela Angela Schreiber
              Reporter:
              angela Angela Schreiber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: