AspNet.Identity.RavenDB icon indicating copy to clipboard operation
AspNet.Identity.RavenDB copied to clipboard

Identity store should support IUserRoleStore

Open petedavis opened this issue 10 years ago • 4 comments

This project is pitching itself as a provider for supporting AspNet Identity 2.0 for Raven DB. Therefore it should be more comprehensive and support IUserRoleStore. I dont think it should tell people to write their apps to only use claims over roles.

Support both and let the users decide based on their needs / experience / preference.

petedavis avatar May 05 '14 11:05 petedavis

OK, you are actually right. I'll implement this before publishing the stable package for .NET v2.0.0

tugberkugurlu avatar May 07 '14 14:05 tugberkugurlu

Well, you rejected my implementation (#2) :stuck_out_tongue_winking_eye:

thoemmi avatar May 07 '14 21:05 thoemmi

@thoemmi yes, I know :confused: however, couldn't resist the requests as people need this. I was hoping to fire away the requests but a man can do so much, right :smile:

Feel free to send another PR again if you would like to.

tugberkugurlu avatar May 07 '14 21:05 tugberkugurlu

Really late to the party.... but any news on this?

ok nevermind about that... was easier to just store it as a claim like this : new Claim(ClaimTypes.Role, "Administrator")

matrichard avatar Oct 13 '15 15:10 matrichard