[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?
shane.bryzak@jboss.com
do-not-reply at jboss.com
Wed Oct 3 19:26:33 EDT 2007
What does the source for your rule look like? It should be something like this:
rule IsUserSuperUser
| no-loop
| activation-group "permissions"
| when
| check: PermissionCheck(name == "rolecheck", action == "super-user", granted == false)
| Role(name == 'super-user')
| then
| check.grant();
| end
In this case the expression would be hasPermission('rolecheck', 'super-user', null).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091287#4091287
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091287
More information about the jboss-user
mailing list