🚧 resource policy rules

This commit is contained in:
Fred KISSIE
2026-03-04 19:31:59 +01:00
parent f42c013f33
commit 1a5e9f1005
9 changed files with 199 additions and 3 deletions

View File

@@ -678,6 +678,7 @@ export const policyRules = pgTable("policyRules", {
export const resourcePolicies = pgTable("resourcePolicies", {
resourcePolicyId: serial("resourcePolicyId").primaryKey(),
sso: boolean("sso").notNull().default(true),
applyRules: boolean("applyRules").notNull().default(false),
scope: varchar("scope")
.$type<"global" | "resource">()
.notNull()