Excerpt |
---|
One of the most important considerations is making sure that no single tenant can view another tenant’s data. The most common data scenarios we encounter are.
Sometimes you will have a combination of the above, but it is more common for one of the solutions below to be used by a partner. I.E, do not think that you’d have to apply all the solutions below to implement multi-tenancy, it’s much simpler than that. Single DB with Tenant IDA common requirement is to call a procedure as a pre-query before any other query is executed on the database. The pre-query can call package procedures or database functions. The use of the variable [[TENANT_ID]] allows each individual user account to pass a distinct value. This is set on the user account. Single DB – Tables have a Tenant ID ColumnMethod 1: User Restriction. This is the most common, and probably the simplest way to apply tenancy within a database. Here you can use any column, or combination of columns within a single or multiple data connections to restrict data. All queries run against the data connection with a user restriction will be forced to show only matching data. The restrictions force an entry in every query WHERE clause. User restrictions also allow you to view lists or groups of data. |
Page Comparison
General
Content
Integrations