RE: [rules-users] generalize a rule in security.drl file
The use of regular expressions in your pattern match would help. rule GeneralisedRestrictAccessClient when check : PermissionCheck( name matches /*Edit.xhtml, action == render ) then check.grant(); end You'd best check the RegEx syntax though! Cheers, Mike _ From:
Re: [rules-users] generalize a rule in security.drl file
Hi Mohamed! Mohamed Mhissen wrote: I use restrictions to control access to my pages. [...] rule RestrictAccessClientEdit when check: PermissionCheck(name == /ClientEdit.xhtml, action == render) Role(name == admin) then