angela created OAK-5182:
---------------------------

             Summary: CugAccessControlManager.removePolicy should remove the 
mixin
                 Key: OAK-5182
                 URL: https://issues.apache.org/jira/browse/OAK-5182
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: authorization-cug
            Reporter: angela


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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to