Hi,

 

I'm looking at using Roles more fully in our application, and I'm trying to 
hide the tabs if the user isn't authorized for it. The way I'm doing it now is 
manually checking before I add each Abstract Tab to the List. If the user has 
the right role, well and good.

 

What I'm wondering, is if there's something similar to 

 

@AuthorizeAction(action="RENDER", roles = { "ADMIN", "EMPLOYEE" } ) 

 

Which could be added to the Panel or tab? So far I haven't found a way to do 
that. Am I just daft or do I have to keep the check manually?

 

Alexander

Reply via email to