Can I use the tenant switcher without tenants?
Hey!
I have a system where the main resources are shared between different organizations / passed around. Very rarely does data belong to a single organization. As such I have my own set of access policies and scopes to ensure who can see what.
I still would like users to switch between organizations. As the requirements are quite simple on a technical level, the only missing piece for me would be an intuitive UI for the switcher within the sidebar.
3 Replies
make custom component and use render hook
You mean to rebuild the tenant-UI myself?
In the meantime I found I can set
Resource::scopeToTenant(false);
and that works fine for using the app and showing the switcher. Then the only missing piece would be to fire a custom hook after clicking on a tenantyes, since you have custom use case!
but if
scopeToTenant
works, nice π