Role-based authorization for action without one for controller
I am trying to implement role-based authorization on a ASP.NET Core 8 Web API, and the goal is that users have access to nothing by default. Their role has to be declared explicitly.
I am trying to implement role-based authorization on a ASP.NET Core 8 Web API, and the goal is that users have access to nothing by default. Their role has to be declared explicitly.