The Telerik UI Menu has a built-in security trimming functionality which is enabled by default.
If the URL to which the Menu item points is not authorized, the item is hidden.
Security trimming depends on the ASP.NET MVC Authorization. Every
action method which is decorated with
AuthorizeAttribute checks whether the user is authorized and allows or forbids the request. For more information, refer to the article on ASP.NET MVC Authorization.
For more information on using a custom
AuthorizeAttribute, refer to this article.
When the Menu items are removed because of lacking permissions, a parent item may be left without any children. For such cases, the Menu provides an option to remove the "orphaned" parent items.
Html.Kendo().Menu() .Name("MainMenu") .SecurityTrimming(s => s.HideParent(true))