Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge branch 'main' into ENG-2800

x0322050bdb5d3f195f
diff --cc frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
index c83a13a1b8,f7e7694f28..281c307fa6
--- a/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
+++ b/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
@@@ -58,16 -54,8 +58,16 @@@ const formSchema =
.object({ type: z.literal(ApproverType.Group), id: z.string() })
.array()
.default([]),
+ userBypassers: z
+ .object({ type: z.literal(BypasserType.User), id: z.string() })
+ .array()
+ .default([]),
+ groupBypassers: z
+ .object({ type: z.literal(BypasserType.Group), id: z.string() })
+ .array()
+ .default([]),
policyType: z.nativeEnum(PolicyType),
- enforcementLevel: z.nativeEnum(EnforcementLevel),
+ enforcementLevel: z.nativeEnum(EnforcementLevel).default(EnforcementLevel.Hard),
allowedSelfApprovals: z.boolean().default(true)
})
.superRefine((data, ctx) => {