This is a migrated thread and some comments may be shown as answers.

multi-level menu question

2 Answers 136 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Y.L.
Top achievements
Rank 1
Y.L. asked on 20 Nov 2013, 04:27 PM
If I have a parent menu item which has a child menu item that points to an action, the action has an access control that is the user needs to have certain role. As Kendo documentation says, if the user doesn't have that role, the menu will automatically not show. My question is: I understand the child menu item will not show; what about the parent menu? Will it still show or not?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Nov 2013, 02:20 PM
Hi Ying Liu,

The Menu provides a setting for the desired functionality:

http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/menu/overview#security-trimming

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Y.L.
Top achievements
Rank 1
answered on 22 Nov 2013, 04:27 PM
That works. Thanks!
Tags
Menu
Asked by
Y.L.
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Y.L.
Top achievements
Rank 1
Share this question
or