I had a similar problem and the only solution I could find was to implement
my own permissions check.

Claude

On Thu, Feb 28, 2019 at 4:57 PM [email protected] <[email protected]>
wrote:

> 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/
>


-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to