You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by emaayan <el...@gmail.com> on 2011/08/17 12:59:20 UTC

shiro wildcard can compared against each other?

hi..

i'm wondering if for instead of defining a complete list of resouces like
so:

payment:edit,add
hr:edit,add,delete

and then use checkPermission(payment:*) 


i would also be able to use payment:* in the returned permission section:

the reasoning is as follows:

let's say i wanna develop a ui panel who goes by the name payments, with a
tag called 'payment'
in it there will be several fields like name, birthdate and so on..
there will be also 2 additional fields like salary and payment dates, which
will also have special tags of their own. 
what i would like to do is a framework to recursively run the ui and check
each widget, the widgets which have no security tags will automatically
"inherit" the payment perimission, EXCEPT the fields which have special
tags.




--
View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-wildcard-can-compared-against-each-other-tp6694955p6694955.html
Sent from the Shiro User mailing list archive at Nabble.com.