Seam 2.0.0 I have:
@Restrict | @Name("userHome") | public class UserHome extends EntityHome<User> { | ... | } security.drl: rule rule1 | when | c: PermissionCheck(name == "userHome", | action in ("persist", "update", "remove")) | Role(name == "userupdate") | then | c.grant(); | end | | rule rule2 | when | c: PermissionCheck(name == "userHome", | action not in ("persist", "update", "remove")) | Role(name == "userread") | then | c.grant(); | end Result: it's all ok for persist and remove; the update method throws an exception, but save the document anyway! Can anyone help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106482#4106482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106482 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user