Ahmed Essam
Add spatie multi tenancy integration to filament v3 (Multiple database)
Hello,
we have upgraded our project to filament v3 and we have multi tenancy integration with multi database (Landlord and tenants). The problem we have that we need to show tenant panel for the tenants and landlord panel to the landlord and we do that by checking the connection by using: Tenant::checkCurrent(). This won't work because the panels are registered in the register method before the boot method so the app doesn't understand the tenant logic yet. Is there is any way to register the panels in boot function like filament v2 by using Filament::navigation() method?
3 replies