fix(signup): reserve the username actor #386

Sammanfogat
supernaut sammanfogade 2 incheckningar från fix/reserve-actor in i main 2026-10-13 10:25:57 +00:00
Ägare

What

Adds actor to FORGEJO_RESERVED_USERNAMES, so sign-up refuses it.

Why

Forgejo 17 reserves actor. Without this entry the portal and Keycloak accept the name, and the first git sign-in fails.

How

  • One entry in src/lib/identity-rules.ts. The list is appended, not re-sorted.
  • A spot-check assertion in src/lib/identity-rules.test.ts, next to the other reserved names.

Not covered

  • The Keycloak check in #384 (no existing user named actor) is not part of this change. It needs an operator query against the realm.

Closes #384

## What Adds `actor` to `FORGEJO_RESERVED_USERNAMES`, so sign-up refuses it. ## Why Forgejo 17 reserves `actor`. Without this entry the portal and Keycloak accept the name, and the first git sign-in fails. ## How - One entry in `src/lib/identity-rules.ts`. The list is appended, not re-sorted. - A spot-check assertion in `src/lib/identity-rules.test.ts`, next to the other reserved names. ## Not covered - The Keycloak check in #384 (no existing user named `actor`) is not part of this change. It needs an operator query against the realm. Closes #384
supernaut lade till 2 incheckningar 2026-10-13 10:15:15 +00:00
Forgejo 17 reserves `actor`. Sign-up accepted it, Keycloak provisioned it,
and the first git sign-in failed.

Closes #384
chore(release): 1.38.2
Alla kontroller lyckades
ci / ci (pull_request) Successful in 6m49s
159de2e9ba
supernaut sammanfogade incheckning 01655277be till main 2026-10-13 10:25:57 +00:00
supernaut tog bort grenen fix/reserve-actor 2026-10-13 10:25:57 +00:00
supernaut refererade denna ändringsförfrågan från en incheckning 2026-10-13 10:25:58 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web!386
Ingen beskrivning angiven.