Find all users who have access to a folder | Community
Skip to main content
Level 4
October 16, 2015
Solved

Find all users who have access to a folder

  • October 16, 2015
  • 1 reply
  • 587 views

We need to find all user profiles who have access to a folder to send notification to them when any asset is uploaded in that folder.

What's the best and most efficient way of achieveing this?

Currently we get all users and then loop through them to filter users with access. Is there an alternate way because i think this way it's expensive.(if there are 10000 users, it will loop 10000 times and maybe only 2 users have access to that folder)

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by gopalKa

When you access 

http://localhost:8080/test/node.eacl.json

 

 it will give effective permissions for all users at that node.

Please refer to http://sling.apache.org/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html

1 reply

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

When you access 

http://localhost:8080/test/node.eacl.json

 

 it will give effective permissions for all users at that node.

Please refer to http://sling.apache.org/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html