On Tue, 20 Dec 2011 17:44:50 -0200, Norman Franke <nor...@myasd.com> 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.)

This is a Java limitation (one instance of a given annotation per class, method or field).

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to