Hello all,

I would like to ask is it possible to add multiple authorize actions on one
class.

It would mean that in case the user has role (i.e.) "Admin" component is
enabled and rendered, for role "user" component is disabled and rendered,
and for role "guest" component is not rendered.

Kind of combination of these two annotations:
@AuthorizeAction(action = "ENABLE", roles = { "ROLE_ADMIN" })
@AuthorizeAction(action = "RENDER", roles = { "ROLE_USER" })

What would be the best way to implement this?

Thank you.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AuthorizeAction-multiple-actions-tp3943997p3943997.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to