One other important thing to note - the following rule doesn't require the user to be
logged in (there is no role check in the conditions) - the permission will be granted no
matter what:
| canUserRenderSettings
| no-loop
| activation-group "permissions"
| when
| c: PermissionCheck(name == "/settings.xhtml" || "settings",
action == "render", granted == false)
| then
| c.grant();
| modify(c);
| end;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011013#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...