Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Files

Latest commit

Mar 20, 2013
edc902a · Mar 20, 2013

History

History

kendo-menu-with-custom-authorization-attribute

PROJECT DESCRIPTION

The code library shows how to use Menu widget to navigate to different views. Menu show/hides menu items depending on the user authentication.

In the project three custom authorize attributes are used:

  1. AllowAnonymousAttribute - allows the decorated Action method to all users
  2. GroupAuthorizeAttribute - verifies whether the logged in user is allowed to see this view. This attribute extends default behavior of AuthorizeAttribute and allows to define multiple roles
  3. CustomUnauthorizedActionResult - this attribute should be used when you want to hide menu item and still navigate to a normal view, which gives some information to the unauthorized users.

The project also shows how to use Menu widget to navigate to different areas.

#####Requirements

Kendo UI Suite and Version 2012.3.1315
jQuery Version 1.8.2
Supported Browsers and Platforms All support browsers by Kendo UI
Components/Widgets used Menu
ASP.NET MVC 3.0