In multi tenant how can I remove functionality that user can't create team!!

Hello! In my app user can have multiple shop so Im using tenant system! But I want user to request for creating new shop ! and admin will create shop for them! that is why I need create shop/team function disable from user!! can any one help me with this! I already have verification system so that selected user can access shop panel shop panel have tenant system I want to have control in there to so that user cant create so many shop!
1 Reply
Tim van Heugten
Read about policies and on your ShopPolicy make sure users are not allowed to create (but you as admin can). As far as I remember Filament respects this policy and the create new shop will disappear.