Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

From host, examine and modify entities locked to tenant #10935


User avatar
0
marble68 created

Version 11.01, MVC, .net Core

Using the method listed here:

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Core-Angular-Sign-In-Without-Specifying-Tenant

How do I move a user from one tenant to another, as the host?

Since the user is associated with the Tenant, when logged in as host, the framework doesn't return these users.

My scenario is where a tenant will have users who have specific data associated with them, not the tenant. They may be a customer of tenant A, but then move to tenant B.

The associated data would move with the user, of course.

How would I approach creating a tool for the host to search and work with all user accounts across all tenants? IRepository seems to block this?


1 Answer(s)
  • User Avatar
    0
    marble68 created

    I think this ticket may have pointed me in the right direction: https://support.aspnetzero.com/QA/Questions/10593/Access-of-multi-tenant-transaction-data

    In effect, disable the tenant filter?

    This maybe the best approach for empowering host to work with tenant specific entities across the board.

    Testing -