I am trying to find if there is a way to do this:

I have a user with permissions assigned like:   "object:read:index1", 
"object:read:index2", "object:read:index3" ...

I am looking for a way to check to see if my user has ANY permissions that
start with "object:read".  I was thinking I could use
SecurityUtils.getSubject().isPermitted("object:read:*"), i.e. check for any
permissions that match, but that doesn't seem to work.

You can assign a permission with a wildcard to a user like :
"object:read:*", meaning this user has access to ALL things that check for
permission that start with "object:read", but I can't find a way to check
the opposite direction.

Any ideas?



--
Sent from: http://shiro-user.582556.n2.nabble.com/

Reply via email to