- ABP Framework version: v4.4.2
- UI type:MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
We have the pro modules and are using Identity-Pro to maintain the list of users. The problem is that ABP out of the box requires you to be logged in as a user for a given tenant to create additional non admin users for that tenant.
Our model is we will have a system admin that will create users for each tenant, so we'll use the 'users' list page and have a tenant selector in that page's menu (next to the add user button) and then select a tenant from it and have is display all the users for the selected tenant and also pass the selected tenant to the add user model box (UI) for the given selected tenant.
What is the best way to implement this without creating my own repository class that the controller uses to get the expected results?
Yes I need a way to take the tenant guid value as selected by the dropdown (highlighted in red) and have the list of users for that tenant display in the list. However, I would like to use the IdentityUserAppService (Volo.Abp.Identity.Pro.Application project) or extend this class and/or it's existing UserRepository to select users from the underlying database that are for the selected tenant