You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "angela (JIRA)" <ji...@apache.org> on 2019/08/08 08:01:00 UTC
[jira] [Commented] (SLING-7147) Support ACL remove * statement
[ https://issues.apache.org/jira/browse/SLING-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902773#comment-16902773 ]
angela commented on SLING-7147:
-------------------------------
[~marett], it's not entirely clear to me if you want to remove all entries on a given access control list or if you want to remove the policy. those are 2 different things... the first one would be achieved by calling {{AccessControlList.removeAccessControlEntry}} for every singe entry present, the latter would be achieved by calling {{AccessControlManager.removePolicy(String, AccessControlPolicy)}}.
please note that having an empty policy is be perfectly legal.... but IMO not too sensible. i would suggest to provide support {{AccessControlManager.removePolicy(String, AccessControlPolicy)}}.
> Support ACL remove * statement
> ------------------------------
>
> Key: SLING-7147
> URL: https://issues.apache.org/jira/browse/SLING-7147
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.1.6
> Reporter: Timothee Maret
> Priority: Major
> Fix For: Repoinit JCR 1.1.14
>
>
> The repoinit parser supports removing all ACLs with the syntax
> {code}
> set ACL on <list-of-paths>
> remove * for <list-of-users>
> end
> {code}
> and
> {code}
> set ACL for <list-of-users>
> remove * on <list-of-paths>
> end
> {code}
> However, the JCR implementation does not seem to support it.
> This issue is about implementing the {{remove *}} statements for ACLs in the JCR repoinit implementation.
> cc [~bdelacretaz]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)