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
address grep
Andrey7df72b8717bc
diff --git a/backend/src/services/approval-policy/approval-policy-service.ts b/backend/src/services/approval-policy/approval-policy-service.tsindex 0dac74e9a6..d9103831a8 100644--- a/backend/src/services/approval-policy/approval-policy-service.ts+++ b/backend/src/services/approval-policy/approval-policy-service.ts@@ -1184,6 +1184,13 @@ export const approvalPolicyServiceFactory = ({const resource = $resource(policy.type as ApprovalPolicyType);const approved = await approvalRequestDAL.transaction(async (tx) => {+ await approvalPolicyDAL.findByIdForShare(policy.id, tx);+ const current = (await autoApprovalService.findByPolicyIds([policy.id], tx)).get(policy.id);+ if (!current?.rules.some((rule) => rule.id === evidence.approvedByRuleId)) {+ throw new BadRequestError({+ message: "The auto-approval rules changed while this request was being checked. Submit it again."+ });+ }await $claimUnusedRecords(policy.id, evidence, tx);const created = await createApprovalRequestWithSteps(diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/JiraConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/JiraConnectionForm.tsxindex 30c9634752..16e95dd181 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/JiraConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/JiraConnectionForm.tsx@@ -336,7 +336,6 @@ export const JiraConnectionForm = ({ appConnection, onSubmit }: Props) => {</FieldLabel><TextAreaid="ssl-certificate"- className="h-[3.6rem] resize-none!"{...field}placeholder="-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----"isError={Boolean(error?.message)}