Skip to content

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

improvement: address feedback

Scott Wilson3fe41f81fe1d
diff --git a/frontend/src/hooks/usePathAccessPolicies.tsx b/frontend/src/hooks/usePathAccessPolicies.tsx
index 118e1f75a8..463e9638d6 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 71b14ec5e6..2a0886441f 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"
>
<p className="text-sm text-mineshaft-300">
- Request access to gain access to this action.
+ Request access to perform this action in this folder.
</p>
</NoticeBannerV2>
)}
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/SecretDashboardPage.tsx
index 0799099129..ea4342fc9b 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"
/>
- <span>You do not permission to read secrets for this path</span>
+ <span>You do not have permission to read secrets in this folder</span>
</div>
<Button
variant="outline_bg"
@@ -669,9 +669,9 @@ const Page = () => {
className="ml-[0.15rem] mr-[1.65rem] text-primary"
/>
<span>
- You do not permission to {!canEditSecrets ? "edit" : ""}
+ You do not have permission to {!canEditSecrets ? "edit" : ""}
{!canEditSecrets && !canDeleteSecrets ? " or " : ""}
- {!canDeleteSecrets ? "delete" : ""} secrets for this path
+ {!canDeleteSecrets ? "delete" : ""} secrets in this folder
</span>
</div>
<Button