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:
committed by
GitHub
parent
f1b85bf294
commit
3a31ad71c2
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user