numerique-gouv / people

Teams management application
MIT License
13 stars 1 forks source link

👔(backend) add `Organization` model #469

Closed qbey closed 2 weeks ago

qbey commented 1 month ago

Purpose

We introduce the Organization model has a "hat" for all users and team.

Each User must have a "default" organization. Each Team must have an organization.

When a User creates a new Team, the team is linked to their default Organization.

For now the Organization should not be visible to end users this is a purely technical aspect as it.

The models are also adding a permission to allow User to edit an Organization, but for now there are no endpoints for that.

Proposal

Add the Organization model, currently only managed by the backend.

Next steps: