So, I have two user type,
- Distributor who can own up the business
- Agent wo works for Distributor
So, I decided to create two user team ( Distributor & Agent ) manually no user will have external excess. Now, when user is created via O-auth from they are consider as Distributor and from client side, I am thinking of adding user to Distributor Team.
And, when distributor create a business I create a new Team for each business.
After that as there is no direct way for Agent to create there account; instead agent account will only be created by Distributor and then that agent get added into the business-team.
Hi - this looks good but how are you planning to maintain database and access?
thank you, ahh, btw I didn't get database and access
part
currenlty, I just have one DB only and all data exist within it
[Solved] Any Suggestion on Team Arch
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- [Solved] how to get user prefs from serv...
i want to get a specific users preferences from serverside maybe i missunderstood something