F
Filament14mo ago
Scott

Only allow a single tenant

Hi guys - is it possible to only allow a single tenant to be created per user? I've modified the table so that it only allows one, but this menu item still shows (my tenant is called "Company", so I want to remove "Setup your Company")
No description
1 Reply
Vp
Vp14mo ago
How I did was I create a boolean column in user table eg: can_edit. Then I use ->visible(fn() => auth()->user()->can_edit
Want results from more Discord servers?
Add your server