This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
people/docs/organizations.md
Quentin BEY 6fe4818743 📝(docs) light doc about org & SP
This introduces a very light documentation about
the newly introduced models.
2024-11-27 09:53:32 +01:00

1.2 KiB

Organization model

Purpose

The initial Organization model allows to regroup User and Team under a same object.

While the purpose was purely technical in the first place, few features emerged afterward.

Each user must have a "default" organization.

When a user logs in:

  • The backend tries to get an existing organization from a "registration ID" or from the user's mail domain
  • If the organization does not exist, it is created using the "registration ID" and fallbacks on the user's mail domain
  • The user organization is set to this organization.

Note: While deploying the new code, we allow the already existing user to not have one.

Each team must have an organization. This organization is not defined by the user, but automatically set using the user's organization.

The team's organization does not restrict the users who can be added to the team.

There is currently no feature relying on the team organization.

Note: While deploying the new code, we allow the teams to not have one.

Organization UI

A new interface can be created to allow users to see all members of an organization. This could be used along with the contacts.