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

ASF GitHub Bot commented on SLING-6422:
---------------------------------------

GitHub user nitin-nizhawan opened a pull request:

    https://github.com/apache/sling/pull/195

    SLING-6422, Allow for specifying oak restrictions with repoinit

       - Add support for restriction clause in parser
       - example acl with restriction spec
         - set ACL on /libs
             deny jcr:modifyProperties for user2 
restriction(rep:itemNames,prop1,prop2)
           end
         - set ACL for user1,u2
             allow jcr:addChildNodes on /apps,/content 
restriction(rep:glob,/cat/*,*/cat,*cat/*)
           end

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nitin-nizhawan/sling 
nitin-nizhawan/restrictionsV3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/195.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #195
    
----
commit d7ea9e1a33a34a170da427fa2638dfe813cafb75
Author: Nitin Nizhawan <[email protected]>
Date:   2017-01-05T14:00:26Z

    SLING-6422, Allow for specifying oak restrictions with repoinit
    
       - Add support for restriction clause in parser
       - example acl with restriction spec
         - set ACL on /libs
             deny jcr:modifyProperties for user2 
restriction(rep:itemNames,prop1,prop2)
           end
         - set ACL for user1,u2
             allow jcr:addChildNodes on /apps,/content 
restriction(rep:glob,/cat/*,*/cat,*cat/*)
           end

----


> 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
>
> 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.3.4#6332)

Reply via email to