Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

future of the project #4

Open
kjellski opened this issue Apr 3, 2014 · 11 comments
Open

future of the project #4

kjellski opened this issue Apr 3, 2014 · 11 comments

Comments

@kjellski
Copy link
Contributor

kjellski commented Apr 3, 2014

... as mentioned on twitter, I like this project and would like to push it into a reasonable seed app that needs group based auth. What do you think about what's missing and what needs to be done in order to get it into, say the Online Gallery for Project templates?

@kjellski
Copy link
Contributor Author

kjellski commented Apr 6, 2014

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...

@xivSolutions
Copy link
Contributor

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.

@xivSolutions
Copy link
Contributor

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.

@kjellski
Copy link
Contributor Author

kjellski commented Apr 6, 2014

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

@kjellski
Copy link
Contributor Author

kjellski commented Apr 6, 2014

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?

@xivSolutions
Copy link
Contributor

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.

@totpero
Copy link

totpero commented Jul 18, 2014

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

@xivSolutions
Copy link
Contributor

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

@totpero
Copy link

totpero commented Aug 11, 2014

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.

@BenLewies
Copy link

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

@weedkiller
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants