Solved

Apply user rights to data base with mu

  • 17 November 2023
  • 1 reply
  • 49 views

Userlevel 1
Badge

In the documentation for the tenats, an example is shown for multiple applications (multiple Idiciums) linked to a single data base is shown. 

Where each application has there own tenants

URL: https://docs.thinkwisesoftware.com/docs/iam/tenants 

 

We have created two applications, one for the operations and one for requesting data through the API.

Where each applications has there own tenants, with different names.


Now if we want to apply user rights to database, we get the following error message;

Could not apply rights for the application because there are multiple tenants assigned to the application”

 

 

I can't find what I'm doing wrong in this instance.

Can someone explain what I have to change, in order to setup the two application correctly, that I can apply the rights to the database.

icon

Best answer by Erwin Ekkel 30 November 2023, 13:37

View original

This topic has been closed for comments

1 reply

Userlevel 6
Badge +16

Two tenants can have the same group name with different roles. For example:

Tenant A - User group Sales - Roles: Salesrole1, Salesrole2
Tenant B - User group Sales - Roles: Salesrole3, Salesrole4

This conflict will not allow the roles to be applied to the database since the conflicting roles would negate the use of the tenants. So if you want to use multiple tenants and apply the rights to the database make sure the group name is unique within each tenant. 

However, in a multi-tenant environment it’s best to not apply rights to the database and use the pooluser (indicium) instead.