Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

How to access all ACL permissions info using Querybuilder

Avatar

Level 7
 
3 Replies

Avatar

Community Advisor

@akshaybhujbale IMO, that's not possible via JCR Query; mostly because the access control system used by Jackrabbit (by default) and AEM relies on inheritance. So the permissions a user has on a certain node is not expressed as a node or properties, but is computed out of inherited ACEs and ACEs directly attached to the node, from both groups (recursively) and the user itself.

So, you probably need to filter your query result via session.hasPermission() or session.checkPermission().

 

Hope this helps!

Thanks