diff --git a/frontend/src/hooks/usePathAccessPolicies.tsx b/frontend/src/hooks/usePathAccessPolicies.tsx index 118e1f75a..463e9638d 100644 --- a/frontend/src/hooks/usePathAccessPolicies.tsx +++ b/frontend/src/hooks/usePathAccessPolicies.tsx @@ -7,8 +7,6 @@ const matchesPath = (folderPath: string, pattern: string) => { const normalizedPath = folderPath === "/" ? "/" : folderPath.replace(/\/$/, ""); const normalizedPattern = pattern === "/" ? "/" : pattern.replace(/\/$/, ""); - console.log(normalizedPath, normalizedPattern); - if (normalizedPath === normalizedPattern) { return true; } diff --git a/frontend/src/pages/secret-manager/SecretApprovalsPage/components/AccessApprovalRequest/components/RequestAccessModal.tsx b/frontend/src/pages/secret-manager/SecretApprovalsPage/components/AccessApprovalRequest/components/RequestAccessModal.tsx index 71b14ec5e..2a0886441 100644 --- a/frontend/src/pages/secret-manager/SecretApprovalsPage/components/AccessApprovalRequest/components/RequestAccessModal.tsx +++ b/frontend/src/pages/secret-manager/SecretApprovalsPage/components/AccessApprovalRequest/components/RequestAccessModal.tsx @@ -31,7 +31,7 @@ export const RequestAccessModal = ({ title="You do not have permission to perform this action" >

- Request access to gain access to this action. + Request access to perform this action in this folder.

)} diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx index 079909912..ea4342fc9 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx @@ -645,7 +645,7 @@ const Page = () => { icon={faInfoCircle} className="ml-[0.15rem] mr-[1.65rem] text-primary" /> - You do not permission to read secrets for this path + You do not have permission to read secrets in this folder