[jboss-user] [JBoss Seam] - Multiple role privelege with s:hasRole
thejavafreak
do-not-reply at jboss.com
Fri Sep 28 07:14:23 EDT 2007
Hi all,
Is it possible to have multiple role to be used with s:hasRole ?
example:
#{s:hasRole('admin')}
means only user with admin role that is able to access the page. But what if there are other role that is allowed to access those page? For example like manager?
Because there many case in enterprise apps several role can access the same restricted page/method/web ui etc.
I know from the source code that this is not possible, but can anyone confirm regarding this? If it isn't available yet in seam, would it be possible it would be available in the future? since I think this is important feature.
thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089642#4089642
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089642
More information about the jboss-user
mailing list