144
Views
1
Comments
Users and Roles in multitenant

We are developing application using multitenant. We created two tenants - Sales Channel and Backoffice. We created users and assigned users to tenants. We are able to login and post data correctly. 

We wanted to implement field security based on Roles. We created roles using Outsystems Service studio and assigned the roles to users using user module. When we try to check role exist for the user, we are getting false even if the role is assigned to user. We found that roles are created in 'Users' espace and hence role exists cannot find the roles assigned to user in a specific tenant. Is there any way to create role for a tenant so that we can use existing check role function?

Thanks in advance.

Ninad Naik

2021-04-25 00-12-15
João Silva

Hi Ninad,

I would like to suggest to go through these learning materials in order to understand the concept of multitenancy.

Also, there is a Multitenant Management application available in the Forge, which you can use as reference.

Hope this helps.

Regards,

João

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