You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2016/11/29 11:18:58 UTC

[jira] [Created] (OAK-5182) CugAccessControlManager.removePolicy should remove the mixin

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)