Here is what I’m trying to achieve:
-
User database in Xano exists (true today) called provider_users (this is for users belonging to a company, a relational table)
-
When a user from that table logs in, they would only see records linked to the Company in which they are related
-
The control is dynamic so that we do not need to manage the access in two places
- These company users should only see records that are linked to the same company record
Example:
- John Doe is a “Company User”
- John Doe is linked to “Pro Roofing Inc.”
- 10 Job records are linked to “Pro Roofing Inc”
- When John Doe logs in, John can see details of “Pro Roofing Inc” (whatever fields we enable) and the 10 Job records
I’m struggling to understand how to manage this type of access via multi-tenant permissions.