numerique-gouv / people

Teams management application
MIT License
13 stars 1 forks source link

🗃️(teams) remove `slug` field #480

Closed qbey closed 2 weeks ago

qbey commented 4 weeks ago

Purpose

After some reflexion, the use of a slug field raises to many problems without being really needed.

One problem is the slug is made from the group name, but we don't have unicity on this, so a user might be blocked without any clue.

We also want to allow group names to be reused (which is already allowed except for the automatic slug).

The unique ID that will be shared with Service Providers will be the PK/UUID.

FIXES https://github.com/numerique-gouv/people/issues/293

Proposal

Remove the slug field of the Team model.