Default Tenant per Role?

So I am currently experimenting with Tenants (currently trying to move from Elastic’s Spaces). Is there a way for a group of users to be defaulted to a specific tenant when they login? Because when they login they get greeted with the tenant select window eventhough the Global and Private are disabled. Also they only have 1 tenant assigned to them but they still need to select it from the drop down.

Right now I see that you can use opendistro_security.multitenancy.tenants.preferred: ["tenant_name"] but that seems to apply to all users regardless of roles.

Is setting a default tenant per role possible?

1 Like

I don’t have a solution, but this ticket may be of interest. Sadly it has not had any movement for a long time. I feel there needs to be a bit of work done on the Tenant selection box.

Have added another comment to that ticket to see if there is anything that can be done.

2 Likes

Has this feature already been implemented?

I understood that this ticket Evaluating current tenant selection panel · Issue #718 · opensearch-project/security-dashboards-plugin · GitHub solved it but it’s not working for my instalation (2.13.0)

Is there any config option that I have to set (using UI or API)?