package Permissions; import java.security.Principal; import org.jboss.seam.security.PermissionCheck; import org.jboss.seam.security.Role; rule RuleA when c: PermissionCheck(name == "domain", action == "delete") Role(name == "admin") then c.grant(); end;