Base solution for your next web application
Open Closed

SUB USER ACCOUNTS UNDER TENANTS #9564


User avatar
0
alfar_re created

Hi,

I'm wondering if it is possible to have sub user accounts. My use case is - our software is used by property agents and they'd like to have their clients (landlords and tenants) have access to individual data. Can this be achieved off the bat by Zero or it would be a separate project?

Below is my project data

  • ASPNETZERO 8.1
  • MVC
  • .NET CORE

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @alfar_re,

    This seems possible.

    1. If a landlord can access data of multiple tenants, then you can create users for landlords on host side and assign a specific role to landlords. To show data from multiple tenants, you can simply disable multi tenanct filter https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters.
    2. If a landlord can access only specific tenant data, then you can create users for landlords on that tenant's account and assign a specific role so you can restrict landlords to view specific pages.