Coder Social home page Coder Social logo

aspnetidentity2grouppermissions's Introduction

AspNet Identity 2.0 with Group-Based Permissions Management

This project expands upon the work done by the ASP.NET Identity Team in the Identity Samples project. The goal is to extend the ASP.NET MVC 5 Identity system and implement a Group-based permission scheme. Users belong to Groups, and Groups have sets of authorization permissions to exxecute code within the application (using [Authorize]). The article can be found at ASP.NET Identity 2.0: Implementing Group-Based Permissions Management

In this project, we make extensive addtions to the original Identity Samples project. We start with the easily extensible project template found at AspNet Identity 2.0 Extensible Project Template and add the capability to organize granular Role permissions into Groups, to which Users can then be assigned.

There is a lot of room for improvment in this project. Particularly with respect to the design of Views and presentation. Do feel free to add to the issues list and/or hit me with a Pull Request if you have ideas or some code to add.

For more information on ASP.NET Identity, see:

The code in this repo is for a project where the Identity models use string keys. If you prefer integer keys (and database PK fields) see this repo instead:

AspNet Identity 2.0 Extensible Project Template (integer keys)

There is a lot of good information here about how things work under the hood with the generic types, even if you don;t plan to use the integer keys:

Please feel free to open issues, report bugs, and/or shoot me a pull request if you see potential fixes/improvements.

aspnetidentity2grouppermissions's People

Contributors

xivsolutions avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.