Compare commits

...

2 Commits

Author SHA1 Message Date
groombook-cto[bot] 6e4526d37a Merge branch 'main' into fix/gro-660-uat-seed-manager-superuser 2026-04-15 00:42:57 +00:00
Flea Flicker 85ec814b26 fix: set Manager 1 as super user in UAT seed to resolve OOBE redirect 2026-04-15 00:25:56 +00:00
+1 -1
View File
@@ -567,7 +567,7 @@ async function seed() {
// ── Staff ──
const managerStaff = Array.from({ length: cfg.staffCount.manager }, (_, i) =>
({ id: uuid(), name: `Manager ${i + 1}`, email: `manager${i + 1}@groombook.dev`, role: "manager" as const, isSuperUser: false })
({ id: uuid(), name: `Manager ${i + 1}`, email: `manager${i + 1}@groombook.dev`, role: "manager" as const, isSuperUser: profile === "uat" && i === 0 })
);
const receptionistStaff = Array.from({ length: cfg.staffCount.receptionist }, (_, i) =>
({ id: uuid(), name: `Receptionist ${i + 1}`, email: `receptionist${i + 1}@groombook.dev`, role: "receptionist" as const, isSuperUser: false })