Authorization in Telerik MVC extensions

How is authorization supported in Telerik MVC extensions?

I am especially interested in two cases:

  • tabs
  • edit / delete / insert grid row
+2


a source to share


1 answer


ASP.NET MVC authorization is supported at the controller level via AuthorizeAttribute

.

The stripe tab should do security trim and not show tabs that navigate to methods of action that the current user does not have access to.



The grid will not hide the edit / delete / paste commands. If an unauthorized user tries to perform the operation, they will have a blank screen (if using server binding) or raise an OnError client side event (for ajax binding scripts). The error code will be 401 - unauthorized.

+1


a source







All Articles