Can I add verification system In multi tenant!

In my seautiatuon I give user to access tenant panel! That user can create multiple company/group But after creating a company user need admin approval to show that company In panel Or make a request to admin admin can manually create company/group for user Are there a way to do this kind of thing?
1 Reply
Tim van Heugten
Tim van Heugten5mo ago
Two approaches; create a new model (ie. ShopRequest with the minimum required fields needed to create a shop) and create logic to view them as admin, maybe even edit them to make corrections and then create an actual shop from them (copying the fields). This approach is often used for creating new users (ie. user invites). Another approach is to create the actual shop with a flag (needs_approval boolean or approved_at datetime) and change all queries that resole shops to only include the ones that are approved (except for the admin, who would be able to see them and toggle approval).
Want results from more Discord servers?
Add your server