Managing permissions (jackrabbit.accessmanager)Page edited by Eric NormanReverted from v. 2Managing permissionsThe jackrabbit-accessmanager bundle delivers a REST interface to manipulate users permissions in the JCR. After installing the jackrabbit-accessmanager bundle the REST services are exposed under the path of the node where you will manipulate the Privileges
Add or modify permissionsTo modify the permissions for a node POST a request to /<path-to-the-node>.modifyAce.html. The following parameters are available:
Responses:
Example with curl: curl -FprincipalId=myuser -fprivil...@jcr:read=granted http://localhost:8080/test/node.modifyAce.html
Responses:
Example with curl: curl -F:applyTo=myuser http://localhost:8080/test/node.deleteAce.html Get permissionsTo get permissions in a json format for a node send a GET request to /<path-to-the-node>.acl.json. Example: http://localhost:8080/test/node.acl.json
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Sling Website > Managing permissions (jackrabb... confluence
