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
fix(secret-overview): update original secret value ref on atomic update
Scott Wilsonc3533359b663
diff --git a/backend/src/ee/services/license/license-fns.ts b/backend/src/ee/services/license/license-fns.tsindex e94f89113d..6a1d13da8b 100644--- a/backend/src/ee/services/license/license-fns.ts+++ b/backend/src/ee/services/license/license-fns.ts@@ -78,11 +78,11 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({auditLogsRetentionDays: 0,auditLogStreams: false,auditLogStreamLimit: 3,- samlSSO: false,+ samlSSO: true,enforceGoogleSSO: false,hsm: false,oidcSSO: false,- scim: false,+ scim: true,ldap: false,groups: false,status: null,diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsxindex e294fdc746..ae07657ade 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx@@ -639,6 +639,12 @@ export const SecretEditTableRow = ({});}}+ // Update originalValueRef so batch mode auto-apply doesn't see stale data+ // after an atomic save. Only for non-hidden secrets since hidden secrets+ // never fetch sharedValueData.+ if (isValueDirty && !secretValueHidden) {+ originalValueRef.current = value ?? null;+ }if (secretValueHidden) {setTimeout(() => {reset({@@ -670,6 +676,9 @@ export const SecretEditTableRow = ({secretId,newSecretName: newKey});+ if (!secretValueHidden) {+ originalValueRef.current = secretValue;+ }reset({value: secretValue,...(isSingleEnvView ? { key: newKey || secretName } : {})