Hi All,
is there any way to update/revoke ACL permission for a particular user groups create in AEM programmatically. I have found few references using CURL commands but is there any other way using Java.
Thanks in Advance.
Regards,
Anudeep
Solved! Go to Solution.
Views
Replies
Total Likes
May not be ideal for your usecase, but adoption of one of the access control management tools may make your life easier. See link - https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Comparison.md . Basically if you use Netcentric's ACL management through src code check-ins, probably updating those config files will automatically update ACLs once you push the packages to AEM. Yes, this takes some initial effort to setup, but becomes easier to manage when you have so many grps to manage within your org. We started using this in or our org with inputs from our architect, and find very easy to manage and easy to adopt. Thanks
As you have mentioned CURL commands is something you can use in order to perform update on the user and group node.
In case if you are looking specifically for java please try to tweak on the snippets available in below url.
Here usermanager is used and also adapted to various object types to perform user and groups operations.
May not be ideal for your usecase, but adoption of one of the access control management tools may make your life easier. See link - https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Comparison.md . Basically if you use Netcentric's ACL management through src code check-ins, probably updating those config files will automatically update ACLs once you push the packages to AEM. Yes, this takes some initial effort to setup, but becomes easier to manage when you have so many grps to manage within your org. We started using this in or our org with inputs from our architect, and find very easy to manage and easy to adopt. Thanks
instead of modifying permissions on run time, you could have created a static group with some predefined permissions(allow/deny) and programatically added user to this group.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies