Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix: Move to project slug

Daniel Hougaarda4b6d2650a9d
diff --git a/frontend/src/views/SecretApprovalPage/components/AccessApprovalPolicyList/components/AccessApprovalPolicyRow.tsx b/frontend/src/views/SecretApprovalPage/components/AccessApprovalPolicyList/components/AccessApprovalPolicyRow.tsx
index 54eaae67c3..8554e928ee 100644
--- a/frontend/src/views/SecretApprovalPage/components/AccessApprovalPolicyList/components/AccessApprovalPolicyRow.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/AccessApprovalPolicyList/components/AccessApprovalPolicyRow.tsx
@@ -22,7 +22,7 @@ import { TWorkspaceUser } from "@app/hooks/api/users/types";
type Props = {
policy: TAccessApprovalPolicy;
members?: TWorkspaceUser[];
- workspaceId: string;
+ projectSlug: string;
onEdit: () => void;
onDelete: () => void;
};
@@ -30,7 +30,7 @@ type Props = {
export const AccessApprovalPolicyRow = ({
policy,
members = [],
- workspaceId,
+ projectSlug,
onEdit,
onDelete
}: Props) => {
@@ -42,13 +42,14 @@ export const AccessApprovalPolicyRow = ({
<Tr>
<Td>{policy.name}</Td>
<Td>{policy.environment.slug}</Td>
+ <Td>{policy.secretPath || "*"}</Td>
<Td>
<DropdownMenu
onOpenChange={(isOpen) => {
if (!isOpen) {
updateAccessApprovalPolicy(
{
- workspaceId,
+ projectSlug,
id: policy.id,
approvers: selectedApprovers
},