I'm just starting to use Spring Security ACL. I want to get a list of domain objects for which the user has (any) permissions for.
For example, a system has 1000 βbuildingsβ, a user can have access to any number of these buildings. When a user logs in, I want to present them with a list of the building for which they have permissions.
Something in the lines myAclService.getObjectsForUser ( amyemail@gmail.com , Building.class)
I am starting to think that ACLs do not work in this direction, but this should be a common task, so at least there should be an example of how to achieve this together with ACLs without duplicating data.
Any thoughts are welcome, thanks!
source share