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(secrets-permissions): Fix case for rotated secrets
carlosmonastyrskif460acf9b456
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsxindex f0bf551fc7..a3e9776084 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx@@ -177,9 +177,9 @@ export const SecretEditRow = ({deleteKey={secretName}onDeleteApproved={handleDeleteSecret}/>- {secretValueHidden && (+ {secretValueHidden && !isOverride && (<Tooltip- content={`You do not have access to view the current value${canEditSecretValue ? ", but you can set a new one" : "."}`}+ content={`You do not have access to view the current value${canEditSecretValue && !isRotatedSecret ? ", but you can set a new one" : "."}`}><FontAwesomeIcon className="pl-2" size="sm" icon={faEyeSlash} /></Tooltip>diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsxindex a9245136fe..d717fecae2 100644--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx@@ -312,9 +312,9 @@ export const SecretItem = memo(tabIndex={0}role="button">- {secretValueHidden && (+ {secretValueHidden && !isOverriden && (<Tooltip- content={`You do not have access to view the current value${canEditSecretValue ? ", but you can set a new one" : "."}`}+ content={`You do not have access to view the current value${canEditSecretValue && !isRotatedSecret ? ", but you can set a new one" : "."}`}><FontAwesomeIcon className="pr-2" size="sm" icon={faEyeSlash} /></Tooltip>