Create, set up, and return an Authz object.
Populate the message and response with results returned from performing query:
Delete the access controls for a given principal on a given node:
Return the access control list for the node in JSON format
Modify the privileges on a specified node for a specified principal.
Authz - content related functionality for Sling implemented over rest APIs.
Perl library providing a layer of abstraction to the REST content methods
jcr:modifyProperties jcr:addChildNodes jcr:removeNode jcr:removeChildNodes
jcr:read jcr:write jcr:readAccessControl jcr:modifyAccessControl jcr:lockManagement jcr:versionManagement jcr:nodeTypeManagement jcr:retentionManagement jcr:lifecycleManagement
Note: In order to actually remove a node, jcr:removeNode is required on that node and jcr:removeChildNodes on the parent node. The distinction is provided in order to reflect implementations that internally model "remove" as a "delete" instead of an "unlink". A repository that uses the "delete" model can have jcr:removeChildNodes in every access control policy, so that removal is effectively controlled by jcr:removeNode.
Fetch hash of authz configuration.
Run authz related actions.
To install Apache::Sling, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Sling
CPAN shell
perl -MCPAN -e shell install Apache::Sling
For more information on module installation, please visit the detailed CPAN module installation guide.