You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by anjan <po...@gmail.com> on 2013/11/26 08:36:04 UTC

Applying permissions at startup

When Sling standalone jar file is used for the first time, the Jackrabbit
repository gets created.  How do I apply one time default permissions to a
folder.  For example, there is a folder (sling:Folder type) "app".  I would
like to apply deny permission "jcr:read" to this folder.

Sling provides the REST interface (.modifyAce.json) to modify the
permissions of a node.  But how do I apply this permission one time (after
the first time creation of Jackrabbit repository).  Please suggest.



--
View this message in context: http://apache-sling.73963.n3.nabble.com/Applying-permissions-at-startup-tp4029209.html
Sent from the Sling - Users mailing list archive at Nabble.com.

Re: Applying permissions at startup

Posted by anjan <po...@gmail.com>.
Resolved.  When the administrator logs in for the first time, I am making the
necessary REST call.  Thanks



--
View this message in context: http://apache-sling.73963.n3.nabble.com/Applying-permissions-at-startup-tp4029209p4029256.html
Sent from the Sling - Users mailing list archive at Nabble.com.