[ https://issues.apache.org/jira/browse/SLING-6422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15768852#comment-15768852 ]
Nitin Nizhawan edited comment on SLING-6422 at 12/22/16 3:02 AM: ----------------------------------------------------------------- +1 , in addition to this, do we think that we need to add any type hint or we can add that later if required? \[0\]. {code} allow ... restriction{String}(rep:glob, *.jsp, *.txt) restriction{Name}(rep:ntNames, sling:Folder) restriction{String}(rep:prefixes, sling) allow ... restriction{Date}(my:custom, "13:00UTC, 23:59UTC") allow ... restriction{Decimal}(my:custom2, 1, 2) allow ... restriction{Name}(rep:ntNames, dam:Asset, nt:unstructured) allow ... restriction(my:string, "It's \"quoted\"", "second string") {code} \[0\] https://docs.adobe.com/content/docs/en/spec/javax.jcr/javadocs/jcr-2.0/javax/jcr/Value.html?is-external=true was (Author: nitin.nizhawan): +1 , in addition to this, do we think that we need to add any type hint or we can add that later if required? \[0\]. {code} allow ... restriction{String}(rep:glob, *.jsp, *.txt) restriction(rep:ntNames, sling:Folder) restriction(rep:prefixes, sling) allow ... restriction{Date}(my:custom, "13:00UTC, 23:59UTC") allow ... restriction{Decimal}(my:custom2, 1, 2) allow ... restriction{Name}(rep:ntNames, dam:Asset, nt:unstructured) allow ... restriction(my:string, "It's \"quoted\"", "second string") {code} \[0\] https://docs.adobe.com/content/docs/en/spec/javax.jcr/javadocs/jcr-2.0/javax/jcr/Value.html?is-external=true > 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)