Skip to content

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

feat: remove additional privileges from the new component as well

adilson6c557dbdd9ff
diff --git a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
index f9bc617ae7..24c28b2d68 100644
--- a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
@@ -199,16 +199,22 @@ export const ProjectRoleList = () => {
Custom roles are part of the Infisical Enterprise plan, but were temporarily available
to Pro users. Creation of new roles will be enforced starting June 1, 2026.
<br />
- You can use{" "}
- <a
- href="https://infisical.com/docs/documentation/platform/access-controls/additional-privileges"
- target="_blank"
- rel="noopener noreferrer"
- className="underline underline-offset-2"
- >
- additional privileges
- </a>{" "}
- as an alternative, or{" "}
+ {currentProject.isLegacyAdditionalPrivilegesEnabled ? (
+ <>
+ You can use{" "}
+ <a
+ href="https://infisical.com/docs/documentation/platform/access-controls/additional-privileges"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="underline underline-offset-2"
+ >
+ additional privileges
+ </a>{" "}
+ as an alternative, or{" "}
+ </>
+ ) : (
+ <>You can </>
+ )}
<a
href="https://infisical.com/scheduledemo"
target="_blank"