0
votes

Right now I decorate a method like this to allow "Reader" to access my controller action using policy.

[Authorize(Policy = Policy.Reader)]

How can I allow Reader Role to access the same method? For example I wanted to give access to both Reader Policy and Reader Role.

[Authorize(Roles = Role.Reader)] 
and 
[Authorize(Policy = Policy.Reader)]