Create a runmode config file in your project.
/apps/aemquickstart/config/com.adobe.acs.commons.users.impl.EnsureServiceUser-customServiceUser.config
Add below snippet in the config file
principalName="custom-service-user"
type="add"
ensure-immediately="{Boolean}true"
aces="[type=allow;privileges=jcr:read\,jcr:modifyproperties;path=/content/we-retail;rep:glob=/jcr:content/*,type=allow;privileges=jcr:read;path=/content/aemquickstart;rep:glob=/jcr:content/*]
The above snippet will add read and modify properties privilege to /content/we-retail path and read permission to /content/aemquickstart.
Refer ACS Commons documentation
No comments:
Post a Comment
If you have any doubts or questions, please let us know.