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")
1 Reply
How I did was I create a boolean column in user table eg: can_edit. Then I use
->visible(fn() => auth()->user()->can_edit