FilamentF
Filament6mo ago
Niels

Tenant menu and registration not working in v4

I am not sure if this is an unfinished feature or a bug in v4 beta?
This is added to my code:
            ->tenant(Organization::class, slugAttribute: 'code')
            ->tenantRegistration(RegisterOrganization::class)
            ->tenantProfile(EditOrganizationProfile::class)


But clicking the tenant in the sidebar doesn't open the menu and the "/new" page returns 404.
Solution
Oh, I just realized I forgot to configure the policy for the tenant model. My bad 😝
Was this page helpful?