Let’s learn, managing User Permissions & Role Permissions. Assigning/De-assigning module permissions to users and to roles. Once a person has a specific permission, the user will get to to access all the endpoints that require the permission.
Month: July 2021
Authentication and Permission Based Authorization in ASP.NET 5 MVC – Part 04
Today we will learn Policy Based Authorization, PaginatedList, Managing user roles.
Authentication and Permission Based Authorization in ASP.NET 5 MVC – Part 03
Hi, In previous part, we learned implementing login, registration, basic authorization. Today, we will see how to seed default user, default roles in database and add hardcoded permissions to default super role. Seeding something to database means, when application first runs, it will try to insert some data to database that are required. Default user will be a super user. The user will have all roles. So, all roles will be added to super user. Among the roles, there will be role SuperAdmin . SuperAdmin role will have all permissions.