[jira] [Commented] (SLING-6422) Allow for specifying oak restrictions with repoinit

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

[jira] [Commented] (SLING-6422) Allow for specifying oak restrictions with repoinit

JIRA jira@apache.org

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

Bertrand Delacretaz commented on SLING-6422:
--------------------------------------------

I understand we might have assumptions about the ordering of restrictions in various places but I'd prefer not having them in Sling if we can avoid that. That's code that we'll rarely touch, so the more future proof the better.

I've added a simple comparison method which doesn't care about ordering and should be good enough if the arrays are small, WDYT?

At https://github.com/apache/sling/pull/242 - that's your patch with the addition of my {{compareArrays}} method.

> Allow for specifying oak restrictions with repoinit
> ---------------------------------------------------
>
>                 Key: SLING-6422
>                 URL: https://issues.apache.org/jira/browse/SLING-6422
>             Project: Sling
>          Issue Type: New Feature
>          Components: Repoinit
>            Reporter: Nitin Nizhawan
>         Attachments: SLING6422ApplyRestrictionsV2.patch, SLING6422ApplyRestrictionsV3.patch, SLING6422_interpretparsedrestrictionclause.patch, SLING-6422.patch
>
>
> Allow for specifying oak restrictions with repoinit. Currently repoinit allows one to ADD remove ACLs but there is no way to specify oak restrictions.
> http://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...