How to give user permissions programmatically?
I know I can give permissions in ${host}:4502/useradmin when I double click user login and go to Permissions tab I want to give permissions when I deploy content package. Is it possible? When you give permission for a user for a particular node/path , it basically stores the permission on the node level below the rep:policy node (allow/deny). I want to give permissions when I deploy content package. You can deploy an AEM package containing only rep:policies which will serve the same purpose of setting up permissions through useradmin. You can refer to ACL packager from ACS Tools for packaging