Resolve role-mapped groups by id, not name #80
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-auth-reconciler#80
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
getRoleGroupsreturns group names.getGroupMembersthen looks each name up in the top-level group search.Why
A role mapped onto a subgroup, or two groups sharing a name, makes the lookup throw. Every run aborts. Members of child groups inherit the role in Keycloak but are not read.
Failing case
Map
ent_runners_sharedontotier_pro/annual. The next run fails withgroup annual not found. Nothing is reconciled until the mapping is undone.Fix
Return id and name from
getRoleGroups. Read/groups/{id}/membersdirectly. Read/groups/{id}/childrenand add their members. Drop the by-name search on this path.Done when