0

I am using ASP.NET Identity with Identity Server to build an authentication system, and I want to assign each role a set of permissions. However, I am confused about how to store these permissions correctly.

I try to store them as claims for the role but I'm not very happy with this solution.

Tiny Wang
  • 10,423
  • 1
  • 11
  • 29
xxxyyy
  • 9
  • 3
  • What do you mean identity server? Are you using 'identity server 4' or something like that? or just built in usermanager with database. – Qiang Fu Jul 24 '23 at 01:59
  • sorry i mean duende identity server – xxxyyy Jul 24 '23 at 09:41
  • first of all, is there a specific reason you are using duende? why not just use identity itself? anyway, perhaps your answer is in the official duende documentation https://docs.duendesoftware.com/identityserver/v5/quickstarts/5_aspnetid/ – Emre Bener Jul 24 '23 at 15:01
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jul 24 '23 at 17:13

0 Answers0