GithubHelp home page GithubHelp logo

Comments (11)

kjellski avatar kjellski commented on June 28, 2024

Hey there, since I'll use this, with your permission of course, in one of my next projects, I would like to add a few unit tests and a bit of sugar, I'll let you know when you could have a look onto my forge if you're okay with that...

from aspnetgroupbasedpermissions.

xivSolutions avatar xivSolutions commented on June 28, 2024

Absolutely - Units tests and any sugar would be great. The whole thing should propbably be structured differently in terms of navigation, too.

I've actually been digging in to Identity 2.0 before going too far down this path. It is the new up-and-coming thing, and there are some changes which either obsolete some of the stuff in here, and/or break it, requiring re-implementing.

What would be cool is if you work with what we have here in your actual, real-world project, and see what works and what turns out to be dumb and in need of improvement lol. Then, we can create nice, tight, specific issues to work against.

from aspnetgroupbasedpermissions.

xivSolutions avatar xivSolutions commented on June 28, 2024

All that said, I can totally see making this a "seed app"/project template per your original suggestion. I suspect there is also room for a second version using Identity 2.0 (if you haven't checked it out yet, do so - it is pretty cool).

Fist place to start would be tests, as you say, and also tightening up the navigation/views, as I observe above.

from aspnetgroupbasedpermissions.

kjellski avatar kjellski commented on June 28, 2024

That sounds great, I'll google this up and try to get into it... is it already on NuGet in Beta or something?

from aspnetgroupbasedpermissions.

kjellski avatar kjellski commented on June 28, 2024

Wholy cow, maybe you're right, I'm just diving in here: http://blogs.msdn.com/b/webdev/archive/2014/03/20/test-announcing-rtm-of-asp-net-identity-2-0-0.aspx

And this shouldn't be ignored! 👍 how do we incorporate this?

from aspnetgroupbasedpermissions.

xivSolutions avatar xivSolutions commented on June 28, 2024

Separate project. Way I see it, there is the way to do this using Identity 1.0, and the way to do it using Identity 2.0.

I've got a start on the 2.0 stuff, but the current project is also a solid template for those who don;t plan to move. Migrating an existing app from 1.0 to 2.0 is slightly painful.

from aspnetgroupbasedpermissions.

totpero avatar totpero commented on June 28, 2024

when you will release the 2.0 version?
i need 2.0 version commit and let me help you

from aspnetgroupbasedpermissions.

xivSolutions avatar xivSolutions commented on June 28, 2024

All -

See ASP.NET Identity 2.0: Implementing Group-Based Permissions Management.

New Repo, ripe for Issues/Pull requests. If anyone wanted to take on improving the Views with respect to organizing Roles/Groups and such (I am thinking of multi-level "slider" type controls, but something...would be greatly appreciated.

New Repo HERE: AspNetIdentity2GroupPermissions

from aspnetgroupbasedpermissions.

totpero avatar totpero commented on June 28, 2024

good job man, you are cool.. i will help you to extend this. I make something complex, i move all asp.net authentication in external assembly using your extended authentication group based.

from aspnetgroupbasedpermissions.

BenLewies avatar BenLewies commented on June 28, 2024

Very timely and very necessary. I'm going to be incorporating this into one of my projects and will contribute any additions I make.

from aspnetgroupbasedpermissions.

weedkiller avatar weedkiller commented on June 28, 2024

Hi This needs some samples on how to use the groups since, the current authorize is based on Role and not group.

I would like to know how to check if the group is authorized to access an action.

from aspnetgroupbasedpermissions.

Related Issues (7)

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.