You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is not an issue it's more a question :
But is there a way to check the permission for an other user than the user connected in my application through the AclManager ?
Let's say I want to check if a user has the EDIT permission on the field A on a class B.
I have tried to extends the AclManager to create a isUserGranted method and tried to use the ACL's isGranted method instead of the securityContext one, but it seems doesn't work.
The other option would be to inject an other SecurityContext instance into the manager ?
Any advises will be accepted thanks
The text was updated successfully, but these errors were encountered:
Is not an issue it's more a question :
But is there a way to check the permission for an other user than the user connected in my application through the AclManager ?
Let's say I want to check if a user has the EDIT permission on the field A on a class B.
I have tried to extends the AclManager to create a isUserGranted method and tried to use the ACL's isGranted method instead of the securityContext one, but it seems doesn't work.
The other option would be to inject an other SecurityContext instance into the manager ?
Any advises will be accepted thanks
The text was updated successfully, but these errors were encountered: