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
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---