From 192dba04a5b45b14633d4f7a7bf4c11c3999e30d Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Wed, 12 Mar 2025 11:34:22 -0700 Subject: [PATCH] improvement: update conditions description --- .../components/GeneralPermissionConditions.tsx | 8 +++++--- .../components/IdentityManagementPermissionConditions.tsx | 8 +++++--- .../components/SecretPermissionConditions.tsx | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx index fcb22f4eb..e78859344 100644 --- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx +++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx @@ -45,9 +45,11 @@ export const GeneralPermissionConditions = ({ position = 0, isDisabled, type }: return (

Conditions

-

- When this policy should apply (always if no conditions are added). All conditions must - evaluate to true for the policy to take effect. +

+ Conditions determine when a policy will be applied (always if no conditions are present). +

+

+ All conditions must evaluate to true for the policy to take effect.

{items.fields.map((el, index) => { diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/IdentityManagementPermissionConditions.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/IdentityManagementPermissionConditions.tsx index b8159b7eb..7ce043fac 100644 --- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/IdentityManagementPermissionConditions.tsx +++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/IdentityManagementPermissionConditions.tsx @@ -39,9 +39,11 @@ export const IdentityManagementPermissionConditions = ({ position = 0, isDisable return (

Conditions

-

- When this policy should apply (always if no conditions are added). All conditions must - evaluate to true for the policy to take effect. +

+ Conditions determine when a policy will be applied (always if no conditions are present). +

+

+ All conditions must evaluate to true for the policy to take effect.

{items.fields.map((el, index) => { diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/SecretPermissionConditions.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/SecretPermissionConditions.tsx index 391ac0d87..bfbe20af7 100644 --- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/SecretPermissionConditions.tsx +++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/SecretPermissionConditions.tsx @@ -43,9 +43,11 @@ export const SecretPermissionConditions = ({ position = 0, isDisabled }: Props) return (

Conditions

-

- When this policy should apply (always if no conditions are added). All conditions must - evaluate to true for the policy to take effect. +

+ Conditions determine when a policy will be applied (always if no conditions are present). +

+

+ All conditions must evaluate to true for the policy to take effect.

{items.fields.map((el, index) => {