This content has been marked as final.
Show 5 replies
-
1. Re: Multiple role privelege with s:hasRole
stephen.friedrich Sep 28, 2007 7:41 AM (in response to thejavafreak)#{s:hasRole('admin') or s:hasRole('admin'}
? -
2. Re: Multiple role privelege with s:hasRole
stephen.friedrich Sep 28, 2007 7:42 AM (in response to thejavafreak)Oops, second admin should be manager, of course.
Or did I misunderstand your question? -
3. Re: Multiple role privelege with s:hasRole
thejavafreak Oct 3, 2007 2:11 AM (in response to thejavafreak)I would two role to be able to access the same page. Is it possible using s:hasRole for this?
-
4. Re: Multiple role privelege with s:hasRole
pmuir Oct 3, 2007 7:19 AM (in response to thejavafreak)Yes, as Stephen says:
#{s:hasRole('foo') or s:hasRole('bar')}
-
5. Re: Multiple role privelege with s:hasRole
thejavafreak Oct 3, 2007 11:17 PM (in response to thejavafreak)Never thought of that. Thanks Pete :)