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?

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.

1 Like