Hi Team,
I am using AEM as a cloud service and want to migrate user permissions to higher AEM environments i.e. QA, Stage, Prod. I am aware about ACS commons ACL packager but we will mostly likely not have permissions to deploy packages on the higher environments. Can you suggest some possible solutions?
Also, can we deploy these permissions as part of code deployment?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @krist_wang,
If you want to manage your permissions model as part of the code, you can check below options as an alternative to ACS Commons ACL Packager:
Hi @krist_wang,
If you want to manage your permissions model as part of the code, you can check below options as an alternative to ACS Commons ACL Packager:
Hi @krist_wang ,
I agree with @lukasz-m about using the Netcentric AC Tool to manage the user and group permission.
Checkout this migration to AC Tool page https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Migration.md to create the AC permission in the code repo.
We used Apache Sling Repository Initialization for managing permissions across environments. This tooling is provided and recommended by Adobe.
The syntax is pretty straightforward once you try some examples. A ton of examples are listed in this documentation for you to get started with:
From my experience,
1. for multiple websites we had just one centralized Repo Init script so that the permissions are all at one place and there are no overlaps and issues of overriding permissions from across multiple Repo Init scripts,
2. avoid making permission changes manually once Repo Init scripts are implemented. This could cause errors in Repo Init scripts, and,
3. test, test, test.
Hope this helps!
thanks,
Preetpal Singh
Views
Likes
Replies
Views
Likes
Replies