Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SantoshSai
New Participant
July 13, 2022
ShaileshBassi
New Participant
July 13, 2022

@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

New Participant
July 13, 2022