DEV Community

RyujiTAKEHARA
RyujiTAKEHARA

Posted on

Manage Users and Organizations in B2B service

Manage Users and Organizations

when we develop B2B service, we should manage users and organizations (like company, corporation, project, ,).
There are 2 types to create relation between user and organizations. one is User oriented style, other is organization oriented style. I would like to compare these 2 styles, and make opinion what kind of requirement fits which styles.

User oriented style

In User oriented style service, B2B user should create user account at first. and then create organization groups. Administrator user ask other member to create his own user account, and invite the user to the organization.
Major user oriented service are Github,(AzureAD),,

User oriented style logical ER diagram

User oriented style Logical ER

Organization oriented style

In Organization oriented style, B2B user should create organization account at first, and then create user account in the organization account. and each member should have multi account for each organizations.
Major organization oriented service are AWS, Slack,,,

Organization oriented style logical ER diagram

Organization oriented style

compare user oriented and organization oriented

viewpoint UserOriented OrganizationOriented
user manages single user account for multi organization multi user account per multi organization
Org Admin manages Resources, users,Roles same as left
Member Invitaion member need to create user account at first Org Admin can create member user account
Resource owner/Share User/Organization can own resource and share it to other organization member. Only Organization can own resource, and normal case cannot share it to other organization.
Cost no difference no difference
Relate with 3rdParty SaaS To Be analyzed To be analyzed

Recommendations

User oriented style

User oriented style fits to your B2B service, if it have following requirement,,

  • would like to manage individual user and organization user in one user management system.(B2B & B2C mixed service)
  • Resource of the B2B service (ex:contents, apps, src code,,) would like to be assigned to user , not only to organization.
  • User would like to manage one account.

Organization oriented style

Organization oriented style fits to your B2B service, if it have following requirement,,

  • would like to manage user account registration by administrator
  • need to separate resource strictly for each organization. (In User oriented case, if user joined to 2 organization, use can see 2 organization resources in same time, it has more possibility of miss assignment. )

Top comments (0)