Skip to content

Role Based Claims Authorize .Net MVC 5 - Identity 2.2 Just Another Blog (with User Roles and Permissions)

Notifications You must be signed in to change notification settings

akifmt/RoleBasedClaimsAuthorize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Role Based Claims Authorize .Net MVC 5 - Identity 2.2

Just Another Blog (with User Roles and Permissions)

with ASP.NET Mvc 5

  • How to

    • Edit Connection String on "Web.config"
    • (Optional) Run "Update-Database" on Package Manager Console
    • Default user, roles and claims will be created on Start (Startup.cs)
    • Default User: [email protected] Password:123456
  • Technologies

    • Entity Framework Code-First
    • DataAnnotation & Fluent API
    • ASP.NET Identity 2.2.2
  • Details

    • Claims used for permissions on this project.
    • An user have many roles
    • A role have many claims
    • Users access pages with "Role Claims"
    • Admin can "Show, Add, Edit, Delete User"
    • Admin can "Show, Add, Edit, Delete Role"
    • Admin can "Show, Edit Role Claims"
    • New user can register any roles except admin role
  • DB DB

  • AdminPanel AdminPanel

  • RoleClaims RoleClaims

  • UserRoles UserRoles

  • TODO

    • Custom Error Pages
    • User Panel

About

Role Based Claims Authorize .Net MVC 5 - Identity 2.2 Just Another Blog (with User Roles and Permissions)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published