Is it possible to have an authorization that will be based on ROles or Users.
Sample:
[Authorize(Users = "XXX\\USER1")]
[Authorize(Roles = "ADMIN")]
public class AdminEntityController : Controller
{..code here...}
My goal is if the role is admin OR the user is XXX\USER1 I will allowed to request in the server. How can I do that?