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
improve some wording & hide max request TTL for simplicity
x032205d4609829fa71
diff --git a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PoliciesTable.tsx b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PoliciesTable.tsxindex bcfbf62204..4810dbe96f 100644--- a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PoliciesTable.tsx+++ b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PoliciesTable.tsx@@ -98,9 +98,7 @@ export const PoliciesTable = ({ handlePopUpOpen }: Props) => {<Tr><Th className="w-10" /><Th>Policy Name</Th>- <Th>Max Approval Request TTL</Th>- <Th>Min Access Duration</Th>- <Th>Max Access Duration</Th>+ <Th>Access Duration (min - max)</Th><Th>Conditions</Th><Th className="w-5" /></Tr>@@ -117,7 +115,6 @@ export const PoliciesTable = ({ handlePopUpOpen }: Props) => {{!isPoliciesLoading &&policies.map((policy) => {const isExpanded = expandedRows.has(policy.id);- const maxTtl = policy.maxRequestTtl ? policy.maxRequestTtl : "No limit";const conditionsCount = policy.conditions.conditions.length;return (@@ -144,9 +141,10 @@ export const PoliciesTable = ({ handlePopUpOpen }: Props) => {</IconButton></Td><Td>{policy.name}</Td>- <Td>{maxTtl}</Td>- <Td>{policy.constraints.constraints.accessDuration.min}</Td>- <Td>{policy.constraints.constraints.accessDuration.max}</Td>+ <Td>+ {policy.constraints.constraints.accessDuration.min} -{" "}+ {policy.constraints.constraints.accessDuration.max}+ </Td><Td>{conditionsCount} condition{conditionsCount !== 1 ? "s" : ""}</Td>diff --git a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyDetailsStep.tsx b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyDetailsStep.tsxindex ef6800c710..228d474ad0 100644--- a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyDetailsStep.tsx+++ b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyDetailsStep.tsx@@ -24,7 +24,8 @@ export const PolicyDetailsStep = () => {</FormControl>)}/>- <Controller+ {/*+ <Controllercontrol={control}name="maxRequestTtl"render={({ field, fieldState: { error } }) => (@@ -38,6 +39,7 @@ export const PolicyDetailsStep = () => {</FormControl>)}/>+ */}<div className="border-t border-mineshaft-600 pt-4"><div className="mb-3"><p className="pb-0.5 text-sm font-medium text-mineshaft-200">diff --git a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyReviewStep.tsx b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyReviewStep.tsxindex 7dacb73c90..7abb788673 100644--- a/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyReviewStep.tsx+++ b/frontend/src/pages/pam/ApprovalsPage/components/PolicyTab/components/PolicySteps/PolicyReviewStep.tsx@@ -187,8 +187,8 @@ export const PolicyReviewStep = () => {{/* Summary Notice */}<div className="rounded-md border border-primary/30 bg-primary/5 p-3"><p className="text-xs text-mineshaft-300">- Please review all the details above. Click "Create" to save this policy or- "Back" to make changes.+ Please review all the details above. Submit to save this policy or go back to make+ changes.</p></div></div>