Cross Tenant Access

We have implemented a multi tenant reactive web application with two different modules. 

One of the module is separated by  tenant and another with cross tenant access where anyone using module 2  can see other tenant's data created in module 2. 

Both module 1 and module 2 data is stored in same entity where we separate using type. 

What is the recommended way to expose all tenant data in module 2?




Hi Constance,


Check this link to know more about tenants:

https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/How_to_Build_a_Multi-tenant_Application


To expose all tenant data in Module 2 you need to check "Show Tenant Identifier" in the entity advanced options:


Now OutSystems will not add Tenant_Id to the queries, so you have full control over the data. You can get the data for all tenants or a specific one.


Cheers

Thanks Victor.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.