Doesn't this do what you want?
@RequiresRoles(logical = Logical.OR, value = { "RoleA", "RoleB", "RoleC" })

On Dec 20, 2011, at 2:44 PM, Norman Franke wrote:

> I'd like to see an annotation option that lets you do an or on the roles, so 
> I can have a page that requires one of several roles. Right now it "ands" 
> them together, which is generally never what I want. Maybe if you can insert 
> the @RequiresRoles multiple times and if any match, it lets it work? (The 
> annotation is limited to one per class at present.)
> 
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
> 
> 
> 
> On Dec 20, 2011, at 12:58 PM, Kalle Korhonen wrote:
> 
>> After grueling six months of development on Android, I'm back at the
>> server side. I'll be cutting a new, T5.3 specific version of Tynamo's
>> tapestry-security in the near future, though unfortunately it won't
>> make it to Santa's sleigh. I'm hoping to also pick up Shiro 1.2 as a
>> dependency if we get that finalized in time. If there's anything you
>> really wanted to change or fix in tapestry-security but never got
>> around reporting it, right about now would be a good time. All the
>> currently open issues will be resolved as well. Thanks to all, it's
>> been a great year for Tapestry!
>> 
>> Kalle
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to