JonPSmith / AuthPermissions.AspNetCore

This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
https://www.thereformedprogrammer.net/finally-a-library-that-improves-role-authorization-in-asp-net-core/
MIT License
770 stars 158 forks source link

The updating of a user's tenant in a multi-tenant application needs work, as the Roles might change. #15

Closed JonPSmith closed 2 years ago

JonPSmith commented 2 years ago

If an app admin creates a new tenant user or update an existing tenant user it won't show the correct Roles when use the user admin method called GetRoleNamesForUsersAsync. The GetRoleNamesForUsersAsync method takes in the user's userId. This has two problems:

Suggested solution

JonPSmith commented 2 years ago

Fixed in version 2.3.0