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

Host with another role #6255


User avatar
0
[email protected] created

Hi, we are trying to create a new user type that is responsible for certain tentants only (he is like a host but is responsible for certain tenants not all), so how can we acomplish that without changing the tenant filters and abp structure?


4 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team

    If I understand what you mean correctly, I think you can use Host users to do these things, You can assign some tenants (TenantId) to some users (UserId) Then the Host user makes a judgment when operating the tenant.

  • User Avatar
    0
    [email protected] created

    Yes, the way we made it is that we created a Sector, the sector has tenants. And we created a SectorUser with tenantID = null (host) and Role is (SectorUser) we want him to see the tenants under his Sector.

  • User Avatar
    0
    ismcagdas created
    Support Team

    [email protected]

    You can either create a dynamic filter or you can directly filter records on the related page.

  • User Avatar
    0
    [email protected] created

    Awesome thanks