Xabaril / Balea

Balea is an authorization framework for ASP.NET Core developers.
Apache License 2.0
246 stars 37 forks source link

Allow separate RoleClaimTypes in the source and volvoreta identities #4

Closed hbiarge closed 4 years ago

hbiarge commented 4 years ago

If we are using two separate identities (good idea!) we should allow to define the RoleClaimType in both identities, the original one and the volvoreta one.

This way we can slightly simplify the query for HasPermissions because we can do this query over the VolvoretaRoles, that include the roles for the source identity that match role, subject and mappings.