3
Hello, I’m having a hard time setting up an architecture in the application security related part. I need only logged in and duly authorized users to have access to certain functions of the application. I know I could normally use the Roles-based authorization, but the problem is that the business rules of this application are the users (Master) who will create the access profiles, so there is no way I can pre-define in the filters which will be the Roles that will have access to each controller/action of the application.
Would anyone have any solution to the scenario I described? The architecture will be built in Asp.Net MVC5 C#, with Entity Framework and Autofac.
That’s exactly what I was about to suggest as a solution! (:
– Fernando Medeiros