[jboss-user] [JBoss Seam] - Re: Exception for authorization attempt

shane.bryzak@jboss.com do-not-reply at jboss.com
Sun Feb 4 16:21:41 EST 2007


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#4011013

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011013



More information about the jboss-user mailing list