Hi Calvin, There is an outstanding issue to add an authorization grammar that will allow you to formulate your own conditions (and, or, not, etc) in the annotation:
https://issues.apache.org/jira/browse/SHIRO-314 HTH, Les On Thu, Mar 8, 2012 at 4:08 AM, calvin <[email protected]> wrote: > Hi development team, > > Shiro is a very good solution to replace SpringSecurity. I like to use the > permission base api, but SpringSecuirty only provide the role base. > > But why the permission checking only support the AND logic, not OR logic? > > For example, i want to display the "Order Detail" page to the person who has > "Order:Approve" or "Order:Edit" permission, how can i do this ? > > I really want the hasAnyPermission(String...) API and taglib, thanks the > team. > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Really-want-the-hasAnyPermission-String-API-and-tagli-tp7354732p7354732.html > Sent from the Shiro User mailing list archive at Nabble.com.
