Tenancy or alternative?

Hello, everyone. In my app, I need to implement the following flow: people need to log in/register through the admin panel. After logging in, they will be redirected to a form that they need to fill out in the admin panel. Each user should only see their own form. Would it be advisable to do this with tenancy, or is there a quicker and easier way to achieve this?
4 Replies
Tim van Heugten
Tim van Heugten11mo ago
Tenancy is to group users and make sure that those users only see/use records that belong to their tenant. Not sure what your app will do, but what you describe is an onboarding form after registration. You need to share more to get a constructive answer.
lazydog
lazydog11mo ago
Based to the given info, you don't need tenancy just use observers and global scopes
Prosp30
Prosp3011mo ago
You could use login listener. Have each new user a certain status. On login, if user has that status, redirect the user to a custom page where there's a form. Alternatively, you could overwrite register part of the app, and instead of a single form use a form wizard where user needs to input all the details. Then handle the registration and write everything where it needs to go Also you could use tenancy and limit users to be able to have only one tenant (team), but if you wont have multiple users in one team, it kinda defeats the purpose
DianaMujoiu
DianaMujoiuOP11mo ago
Thank you all🙏🏻

Did you find this page helpful?