The DVDStore does something like that:
| <navigation from-action="#{identity.login}">
| <rule if="#{currentUser.admin}">
| <redirect view-id="/admin/admin.xhtml"/>
| </rule>
| </navigation>
|
I should probably update that rule to be #{s:hasRole('admin')}, but it's the
same thing.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070214#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...