[jboss-user] [JBoss Seam] - Rules question

mhissen do-not-reply at jboss.com
Tue Sep 11 03:40:08 EDT 2007


I want to create a rule which makes it possible to post the pages of edition only for the users having the "admin" Role :


  | rule RestrictAccessEdit
  | 	when
  | 		check: PermissionCheck(name == "/*Edit.xhtml", action == "render")
  |   		Role(name == "admin")
  | 	then
  | 		check.grant();
  | 	end;
  | 

but "/*Edit.xhtml" does'nt work, does somebody have a proposal?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082861#4082861

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



More information about the jboss-user mailing list