How's authorization supported in Telerik's MVC extensions ?
I am particularly interested in two cases:
- tabs
- grid row editing/deleting/inserting
How's authorization supported in Telerik's MVC extensions ?
I am particularly interested in two cases:
ASP.NET MVC authorization is supported at controller level through the AuthorizeAttribute
.
The tabstrip should perform security trimming and not show tabs which navigate to action methods which the current user does not have access to.
The grid won't hide the editing/deleting/inserting commands. If unauthorized user tries to perform the operation he would end up with a blank screen (if using server binding) or raise the OnError client side event (for ajax binding scenarios). The error code would be 401 - unauthorized.