This is my problem. How do I get the information, if the user has not the
permission to see the panel?
I create a tab list like this:
List<ITab> tabs = new ArrayList<ITab>();
tabs.add(new AbstractTab(new Model<String>("panel")) {
public Panel getPanel(String panelId) {
return new FooPanel(panelId);
}
...
});
And I'm securing the panel through annotation:
@AuthorizeInstantiation("ADMIN")
public class FooPanel extends Panel {
...
}
So the tab will be added before I get the information about its auths.
James Carman-3 wrote:
>
> Can't you just not add the tab if the user doesn't have the
> role/permission required?
>
--
View this message in context:
http://old.nabble.com/TabbedPanel-%2B-authorization-strategy-tp13949910p27073005.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]