Skip to content

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

New policy warning UI

x03220531560572783f
diff --git a/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx b/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
index 281c307fa6..0575046961 100644
--- a/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
+++ b/frontend/src/pages/secret-manager/SecretApprovalsPage/components/ApprovalPolicyList/components/AccessPolicyModal.tsx
@@ -562,9 +562,9 @@ export const AccessPolicyForm = ({
</div>
{bypasserCount <= 0 && (
- <span className="text-sm text-red-500">
- Not selecting specific users or groups will allow anyone to bypass this policy
- </span>
+ <div className="mt-1 flex rounded-r border-l-2 border-l-red-500 bg-mineshaft-300/5 px-4 py-2.5 text-sm text-bunker-300">
+ Not selecting specific users or groups will allow anyone to bypass this policy.
+ </div>
)}
</>
)}