fix: key entitlements by keycloak user id, not username #95

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/key-entitlements-by-user-id in i main 2026-10-18 11:49:19 +00:00
Ägare

Tier and role sets now hold Keycloak user ids. Each Forgejo account is matched by its login_name.

  • A rename Forgejo refuses (422) no longer drops a paying user to the participant group.
  • A local account (empty login_name) gets no Keycloak entitlement, whatever its login.
  • Exempt users still match by login, case-insensitively.
  • The user pass reads listAccounts. The unused listUsers read is removed.

Minor bump to 2.3.0. No env change. Dry-run before the first apply and compare the fail-closed warnings: an account whose login_name is not its Keycloak id now drops to participant.

Closes #81

Tier and role sets now hold Keycloak user ids. Each Forgejo account is matched by its `login_name`. - A rename Forgejo refuses (422) no longer drops a paying user to the participant group. - A local account (empty `login_name`) gets no Keycloak entitlement, whatever its login. - Exempt users still match by login, case-insensitively. - The user pass reads `listAccounts`. The unused `listUsers` read is removed. Minor bump to 2.3.0. No env change. Dry-run before the first apply and compare the fail-closed warnings: an account whose `login_name` is not its Keycloak id now drops to participant. Closes #81
supernaut lade till 1 incheckning 2026-10-18 11:18:27 +00:00
fix: key entitlements by keycloak user id, not username
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m9s
0d2a1758d2
Tier and role sets now hold Keycloak user ids and match each Forgejo
account by its login_name. A rename Forgejo refuses no longer drops a
paying user to the participant group. A local account with an empty
login_name gets no Keycloak entitlement, whatever its login. Exempt
users still match by login, case-insensitively.

The user pass reads accounts with listAccounts, so the unused
listUsers read is removed from the Forgejo client.

Closes #81
supernaut sammanfogade incheckning 70ef343649 till main 2026-10-18 11:49:19 +00:00
supernaut tog bort grenen fix/key-entitlements-by-user-id 2026-10-18 11:49:19 +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-auth-reconciler!95
Ingen beskrivning angiven.