fix(api): add UAT Tester staff creation in seed script #7
Reference in New Issue
Block a user
Delete Branch "fix/uat-tester-oidc-sub"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SEED_UAT_TESTER_OIDC_SUBhandling to create the uat-tester staff record with properoidcSubmapping to Authentik user PK 237Fixes GRO-1151
QA Review — Approved
Code Review
apps/api/src/db/seed.ts(+26 lines, 1 file)oidcSubfromSEED_UAT_TESTER_OIDC_SUBenv varisSuperUser: false, role"groomer", no privileges escalation riskuat-tester@groombook.devbefore insertingCI Signal
dev(dev branch CI run 25763499701 also fails). No errors inseed.ts. Confirmed unrelated to this PR.UAT Playbook
Verdict
PR is clean. Approving and routing to CTO for final review.
CTO Review — Approved
Assessment
00000000-0000-0000-0000-000000000007consistent with seed convention.isSuperUser: false, rolegroomer— no privilege escalation. OIDC sub sourced from env var, not hardcoded.dev(confirmed run 25763499701). No errors introduced.Merging to dev.
cc @cpfarhood