stancl/tenant with filamentphp and block the panels from central a
Hi! someone already have used the stancl/tenant with filamentphp and block the panels from central and tenants?
4 Replies
I'm working with it now - can you clarify what you mean? You want the panels blocked on both central and tenants? In which case, why have panels?
Hi nice to meet you. I’m working in a multi database and I have a panel for the tenants and a panel for the central
The tenant can log the panel of central with the tenant credentials
I want block the panel for central into the domain of tenant
@_andypeacock thanks for join in the thread
Why not use PreventAccessFromCentralDomains on tenant routes?
Or each panel has a middleware property. Just add a middleware to the central panel to kick out the user if they don't have the rights access (eg, by user role). I just redirect anyone without the "super_admin" role that filament defines