Tenant APP
Hi. I'm developing a tenant application. Admin user is created, he logs in and create many teams for the company (Sales, Development, Support, Marketing, etc)
When a user registers, HE HAS NO TEAM assigned. User must validate email and WAIT for the admin to assign his/her work teams.
This is done by a Middleware. But, since the user has no team assigned, Filament cant build the address to the User Panel.
So, this is deadlock, since UserReady middleware is inside a a panel that can't be entered because no team (tenant) is assigned.
How can I solve this?
0 Replies