[
https://issues.apache.org/jira/browse/OAK-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-5182.
---------------------------------
Bulk close for 1.5.15
> 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
> Assignee: angela
> Fix For: 1.6, 1.5.15
>
>
> 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)