[jira] [Commented] (SLING-7147) Support ACL remove * statement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SLING-7147) Support ACL remove * statement

Oliver Lietz (Jira)

    [ https://issues.apache.org/jira/browse/SLING-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16903132#comment-16903132 ]

angela commented on SLING-7147:
-------------------------------

[~marett], agreed... on a second thought there are probable 3 scenarios, because the remove-all-entries for the setup for principal should probably be treated slightly different:
- set acl for principalnames remove * -> should probably only remove entries that match the given principals
- set acl on paths remove * -> should probably remove all entries for the policy at the given paths and write back an empty policy
- remove acl on paths -> remove policies altogether

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