简体   繁体   中英

Authorization in Telerik's MVC extensions

How's authorization supported in Telerik's MVC extensions ?

I am particularly interested in two cases:

  1. tabs
  2. grid row editing/deleting/inserting

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM