c# - authorize whole controller to admin and 3 Actions inside to Admin and User Access level, how? -
i have admincontroller authorize admin mvc attribute:
[authorize(roles = "admin")]
i want 3 actions inside controller available user access level .
how can ?
thank you
got :-)
this need put above actions:
[overrideauthorization] [authorize(roles = "admin,user")]
Comments
Post a Comment