5 Replies Latest reply on Oct 3, 2007 11:17 PM by thejavafreak

    Multiple role privelege with s:hasRole

    thejavafreak

      Hi all,

      Is it possible to have multiple role to be used with s:hasRole ?

      example:
      #{s:hasRole('admin')}

      means only user with admin role that is able to access the page. But what if there are other role that is allowed to access those page? For example like manager?

      Because there many case in enterprise apps several role can access the same restricted page/method/web ui etc.

      I know from the source code that this is not possible, but can anyone confirm regarding this? If it isn't available yet in seam, would it be possible it would be available in the future? since I think this is important feature.

      thanks in advance