show/hide menu based on role

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

show/hide menu based on role

Budianto Lie
Hello,

If I create a new role, I want to show/hide some menus based on the role.
For example, role x can show menu a, b, c. And role x will hide menus d, e,
f.
Any suggestion, how to implement this?

Thanks,
Popo
Reply | Threaded
Open this post in threaded view
|

Re: show/hide menu based on role

Adrian Crum-3
Use the <condition> element in the menu widgets. Have it check for a
role-based permission.

-Adrian

On 3/4/2012 2:12 PM, Budianto Lie wrote:

> Hello,
>
> If I create a new role, I want to show/hide some menus based on the role.
> For example, role x can show menu a, b, c. And role x will hide menus d, e,
> f.
> Any suggestion, how to implement this?
>
> Thanks,
> Popo
>