Identity / Field guide

Teams & organizations

Give customers a place to manage people, ownership and shared work.

One person, two organizations

ONE IDENTITYNorthstarAcmeACTIVEMEMBER3 projects2 projects

One identity can have membership in Northstar; its work stays in Northstar.

01 / CONTEXT

Why it matters

A user account tells you who signed in. An organization tells you whose work they can see and who can administer it. That distinction becomes urgent as soon as one customer has several people or one person belongs to several customers.

The hard part is the transition from one-person accounts to shared ownership. A customer may have many workspaces, and a consultant may work across several customers. Model those relationships before you make “team” a label in the UI.

02 / DESIGN

Decisions to make

  • Choose whether resources belong to a person, an organization or a workspace.
  • Define invitations, membership changes and ownership transfer before adding admin screens.
  • Make the active organization visible in both the UI and the authorization context.
  • Decide what happens to resources and billing when the last owner leaves.
  • Choose whether invitations can target an existing user in a different organization.
03 / IMPLEMENTATION

Build checklist

  • Store membership separately from user identity so access can change without replacing an account.
  • Test switching organizations with the same user and verify that every query remains scoped.
  • Give an administrator a way to revoke a member and review their remaining sessions.
  • Require an active organization on every organization-scoped request.
  • Exercise owner transfer, member removal and cross-organization access in automated tests.
04 / WATCH FOR

Common mistakes

  • Treating a login as a tenant boundary. One email address can belong to several organizations.
  • Letting a user create resources before the product has decided which organization owns them.
  • Assuming an email domain uniquely identifies one customer.
05 / GO DEEPER

Tools & references

4 starting points to compare or study. Check fit, maintenance, terms and current capabilities before choosing one.

BUILDING THIS NOW?

Explore the SaaSLayer approach.

See the services and developer guides behind our AWS backed SaaS building blocks.

Read SaaSLayer docs
NEXT FEATURERoles & permissions