ASP.NET Core Identity Authorization using Parameter for Team Membership

前端 未结 3 646
长发绾君心
长发绾君心 2021-02-03 13:07

I have an application with tables like this:

  • User (ASP.NET Core Identity)
  • Team
  • UserTeam (many-to-many join table)

Users can be mem

3条回答
  •  余生分开走
    2021-02-03 13:52

    I hope you can rewrite your membership entity types:

    Try using IdentityRole which comes directly from the ASP.NET Core Framework.

    https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles

提交回复
热议问题