Back

[Solved] Any Suggestion on Team Arch

  • 0
  • Teams
  • Accounts
Vedsaga
9 May, 2023, 04:46

So, I have two user type,

  1. Distributor who can own up the business
  2. 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.

TL;DR
The user is seeking suggestions for team architecture. They currently have one database with all the data, but are unsure about how to maintain database and access. They have two types of users - Distributors and Agents. The plan is to manually create two teams - one for Distributors and one for Agents, with no external access. Distributors will be created via O-auth and added to the Distributor team. When a Distributor creates a business, a new team will be created for each business. Agents will only be created by Distributors and added to the respective business team.
joeyouss
9 May, 2023, 09:51

Hi - this looks good but how are you planning to maintain database and access?

Vedsaga
9 May, 2023, 10:34

thank you, ahh, btw I didn't get database and access part

Vedsaga
9 May, 2023, 10:35

currenlty, I just have one DB only and all data exist within it

Vedsaga
12 May, 2023, 08:10

[Solved] Any Suggestion on Team Arch

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more