From c376add0fa05ac04290d559880cc38e26dd23012 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 26 Mar 2025 21:41:07 -0400 Subject: [PATCH] Make the model look simpler --- .../permissions/organization-permissions.mdx | 2 +- .../permissions/project-permissions.mdx | 2 +- .../AccessManagementPage.tsx | 3 +- .../UpgradePrivilegeSystemModal.tsx | 430 +++++++++--------- 4 files changed, 221 insertions(+), 216 deletions(-) diff --git a/docs/internals/permissions/organization-permissions.mdx b/docs/internals/permissions/organization-permissions.mdx index 77a8035b1..2daa90c4e 100644 --- a/docs/internals/permissions/organization-permissions.mdx +++ b/docs/internals/permissions/organization-permissions.mdx @@ -5,7 +5,7 @@ description: "Comprehensive guide to Infisical's organization-level permissions" ## Overview -Infisical's organization permissions system follows a role-based access control (RBAC) model built on a subject-action-object framework. At the organization level, these permissions determine what actions users can perform on various resources across the entire organization. +Infisical's organization permissions system follows a role-based access control (RBAC) model built on a subject-action-object framework. At the organization level, these permissions determine what actions users/machines can perform on various resources across the entire organization. Each permission consists of: diff --git a/docs/internals/permissions/project-permissions.mdx b/docs/internals/permissions/project-permissions.mdx index 2797c3b1f..ea3b08fea 100644 --- a/docs/internals/permissions/project-permissions.mdx +++ b/docs/internals/permissions/project-permissions.mdx @@ -5,7 +5,7 @@ description: "Comprehensive guide to Infisical's project-level permissions" ## Overview -Infisical's project permissions system follows a role-based access control (RBAC) model built on a subject-action-object framework. At the project level, these permissions determine what actions users can perform on various resources within a specific project. +Infisical's project permissions system follows a role-based access control (RBAC) model built on a subject-action-object framework. At the project level, these permissions determine what actions users/machines can perform on various resources within a specific project. Each permission consists of: diff --git a/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx b/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx index 8034467ea..b245260c6 100644 --- a/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx +++ b/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx @@ -91,8 +91,7 @@ export const AccessManagementPage = () => {

We've developed an improved privilege management system to better serve your security needs. Upgrade to our new permission-based approach that allows you to - explicitly designate who can modify specific access levels, rather than relying on - traditional hierarchy comparisons. + explicitly designate who can modify specific access levels, rather than relying on hierarchy comparisons.

- - - + + ) : ( +
+

+ Your existing access control workflows will continue to function. However, actions that + involve modifying privileges or permissions will now use the new permission-based system, + requiring users to have explicit permission to modify given resource. +

+ +

+ This upgrade affects operations like updating roles, managing group memberships, and + modifying privileges across your organization and projects. +

+ +
+

+ Once upgraded, your organization cannot revert to the + legacy privilege system. Please ensure you've completed all preparations before + proceeding. +

+ +
+

Required preparation checklist:

+ +
+ ( + + I have reviewed project-level privileges and updated them if necessary + + )} + /> + ( + + I have reviewed organization-level privileges and updated them if necessary + + )} + /> + ( + + I have checked Terraform configurations and API integrations for compatibility + with the new system + + )} + /> + ( + + I understand that this upgrade is permanent and cannot be reversed + + )} + /> +
+
+
+ +
+
+ + +
+
+
+ )} );