Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: updated to support in error in ui
=61388753cf15
diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsxindex 9b1b1aa00a..182f6cb525 100644--- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx+++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx@@ -82,7 +82,14 @@ const ConditionSchema = z{ message: "Duplicate operator found for a condition" }).refine(- (val) => val.filter((el) => el.lhs === "secretPath").every((el) => el.rhs.startsWith("/")),+ (val) =>+ val+ .filter((el) => el.lhs === "secretPath")+ .every((el) =>+ el.operator === PermissionConditionOperators.$IN+ ? el.rhs.split(",").every((i) => i.trim().startsWith("/"))+ : el.rhs.trim().startsWith("/")+ ),{ message: "Invalid Secret Path. Must start with '/'" });