You've got a call to c.grant() in the outcome of your rule, however you don't 
have a corresponding PermissionCheck in the condition section:

rule "Can User Access"
  | when
  |   c: PermissionCheck(name == "objectName", action == "access", 
  |   eval( new Date().before( new Date( Date.parse( "10/31/2007" ) ) )
  | then
  |   c.grant();
  | end; 

The @Restrict then looks something like this:

@Restrict("#{s:hasPermission('objectName', 'access', null)}")

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100466
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to