feat: recognise tier_trial as a paid tier (ADR 0036) #6
Inga granskare
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!6
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/tier-trial-paid-mapping"
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
Teach the reconciler to recognise the
tier_trialKanidm group as a paid tier (ADR 0036), sotime-boxed trial members get the same shared
paidquota group astier_basic/tier_pro.Part of the sign-up trial epic (bitborg-docs#51); pairs with bitborg-infra#232.
Changes
classifyUsermaps atier_trialmember to thepaidquota group, and gives trial members thepro Renovate cap.
KANIDM_GROUP_TIER_TRIAL(read inconfig.ts, resolved in thereadMembershipsparallel batch)..env.exampledocuments the new var.Org-create and Actions need no projection change:
tier_trialis nested intoent_orgs/ent_runners_*in Kanidm (bitborg-infra), so those capabilities flow through theexisting
sets.orgs/sets.runnersmembership. The downgrade is likewise free — oncetier_trialis emptied, members fall to the participant group on the next run.Testing
tsc --noEmitclean;pnpm test78 pass, including new cases:tier_trial→paid(+ full capswhen nested), pro Renovate cap, and the post-downgrade fall-through to participant. Lint + format
clean.
Deploy note
KANIDM_GROUP_TIER_TRIALis required, so deploy this together with the bitborg-infra change thatcreates the group and renders the env var. Retiring the trial = keep the group defined but empty;
the mapping is then inert.
testtill feat: recognise tier_trial as a paid tier (ADR 0036)