ShaileshBassiAccepted solution
New Participant
Jun 21, 2022 8:54 AM UTC
Since an administrator can see all effective permissions for a specific path in CRX Explorer > Access Control
If you are looking forward to fetch the details in the java code you can use the "AccessControlManager" api and use the method "getEffectivePolicies" in your custom logic.
API Reference:
There are some more use case present in the ACS Commons as well, you can check out the code within it to understand how we can use it.
Reference for ACS git: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/users/impl/EnsureAce.java
Thanks