fix(db): set isSuperUser=false for Jordan Lee in full seed path

Gro-511: Jordan Lee (manager account) was created with isSuperUser=true
in the full seed path, causing GET /api/setup/status to return
needsSetup=false and blocking the OOBE flow after UAT reset.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Flea Flicker
2026-04-08 03:22:43 +00:00
parent 2453e3a0ae
commit 948806bf09
+1 -1
View File
@@ -403,7 +403,7 @@ async function seed() {
// ── Staff ──
// Deterministic staff IDs so they can be referenced in scripts/tests
const managerStaff = [
{ id: uuid(), name: "Jordan Lee", email: "jordan@groombook.dev", role: "manager" as const, isSuperUser: true },
{ id: uuid(), name: "Jordan Lee", email: "jordan@groombook.dev", role: "manager" as const, isSuperUser: false },
];
const receptionistStaff = [