0

I have AdminController which is authorize to Admin only with MVC attribute:

[Authorize(Roles = "Admin")]

I want 3 Actions inside the controller will be available to User access level also .

how can I do it ?

thank you

heyo
  • 19
  • 2
  • Have a look at [this](http://stackoverflow.com/questions/19403013/how-to-use-the-authorize-attribute-both-at-the-controller-and-action-level). – diiN__________ Apr 06 '16 at 12:25

1 Answers1

0

got it :-)

this is what we need to put above the Actions:

[OverrideAuthorization]
[Authorize(Roles = "Admin,User")]
heyo
  • 19
  • 2