0 Replies Latest reply on Sep 11, 2007 3:40 AM by Mohamed Mhissen

    Rules question

    Mohamed Mhissen Newbie

      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?