feat(schema): add is_super_user to staff table (GRO-201)

Add boolean is_super_user column (default false) to staff table.
Update Staff interface in shared types.
Mark first manager as super user in both seed modes.
Update test fixtures to include isSuperUser field.

Co-authored-by: groombook-ci[bot] <ci@groombook.bot>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit was merged in pull request #150.
This commit is contained in:
groombook-engineer[bot]
2026-03-28 20:39:46 +00:00
committed by GitHub
parent f1b85bf294
commit 3a31ad71c2
8 changed files with 101 additions and 8 deletions
@@ -17,6 +17,7 @@ const MANAGER: StaffRow = {
oidcSub: "oidc-manager-sub",
userId: null,
role: "manager",
isSuperUser: true,
name: "Manager McManager",
email: "manager@example.com",
active: true,
+1
View File
@@ -9,6 +9,7 @@ const MANAGER: StaffRow = {
oidcSub: "oidc-manager-sub",
userId: null,
role: "manager",
isSuperUser: true,
name: "Manager McManager",
email: "manager@example.com",
active: true,
+1
View File
@@ -10,6 +10,7 @@ const MANAGER: StaffRow = {
oidcSub: "oidc-manager-sub",
userId: "ba-user-manager",
role: "manager",
isSuperUser: true,
name: "Manager McManager",
email: "manager@example.com",
active: true,