I am looking for a little push in the right direction to add Roles to my ASP.NET MVC5 application, which will be used on our intranet. I currently have a project that uses Windows Authentication, so I can pull my domain username. I used to use [Authorize (Role = "")], but it was pretty uncomfortable and annoying to maintain. I was wondering if there is a way to do this using domain accounts, but having the “Roles” and “Membmers Role” listed in the database so that a simple user delegated as an “administrator” could manage it. Thus, the user will not need to enter this page, but will still be able to see different parts of the application based on their "role"
I'm currently reading in ASP.NET Identity 2.0, but I'm not sure if it can accomplish what I want, or if there is an easier way.
source share