Skip to content

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

improvement: update conditions description

Scott Wilson192dba04a5b4
diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/GeneralPermissionConditions.tsx
index fcb22f4eb7..e78859344c 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 (
<div className="mt-6 border-t border-t-mineshaft-600 bg-mineshaft-800 pt-2">
<p className="mt-2 text-gray-300">Conditions</p>
- <p className="mb-2 text-sm text-mineshaft-400">
- When this policy should apply (always if no conditions are added). All conditions must
- evaluate to true for the policy to take effect.
+ <p className="text-sm text-mineshaft-400">
+ Conditions determine when a policy will be applied (always if no conditions are present).
+ </p>
+ <p className="mb-3 text-sm leading-4 text-mineshaft-400">
+ All conditions must evaluate to true for the policy to take effect.
</p>
<div className="mt-2 flex flex-col space-y-2">
{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 b8159b7eb9..7ce043facf 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 (
<div className="mt-6 border-t border-t-mineshaft-600 bg-mineshaft-800 pt-2">
<p className="mt-2 text-gray-300">Conditions</p>
- <p className="mb-2 text-sm text-mineshaft-400">
- When this policy should apply (always if no conditions are added). All conditions must
- evaluate to true for the policy to take effect.
+ <p className="text-sm text-mineshaft-400">
+ Conditions determine when a policy will be applied (always if no conditions are present).
+ </p>
+ <p className="mb-3 text-sm leading-4 text-mineshaft-400">
+ All conditions must evaluate to true for the policy to take effect.
</p>
<div className="mt-2 flex flex-col space-y-2">
{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 391ac0d878..bfbe20af72 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 (
<div className="mt-6 border-t border-t-mineshaft-600 bg-mineshaft-800 pt-2">
<p className="mt-2 text-gray-300">Conditions</p>
- <p className="mb-2 text-sm text-mineshaft-400">
- When this policy should apply (always if no conditions are added). All conditions must
- evaluate to true for the policy to take effect.
+ <p className="text-sm text-mineshaft-400">
+ Conditions determine when a policy will be applied (always if no conditions are present).
+ </p>
+ <p className="mb-3 text-sm leading-4 text-mineshaft-400">
+ All conditions must evaluate to true for the policy to take effect.
</p>
<div className="mt-2 flex flex-col space-y-2">
{items.fields.map((el, index) => {