Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore: addressed comments
Sheen Capadngan25a9f78116c0
diff --git a/backend/src/ee/services/permission/permission-fns.ts b/backend/src/ee/services/permission/permission-fns.tsindex 156ab1f96d..44e1dea17d 100644--- a/backend/src/ee/services/permission/permission-fns.ts+++ b/backend/src/ee/services/permission/permission-fns.ts@@ -220,7 +220,8 @@ function validateOrgSSO(// case: google sso is enforced, but the actor is not using google ssoif (isOrgGoogleSsoEnforced && actorAuthMethod !== null && actorAuthMethod !== AuthMethod.GOOGLE) {throw new ForbiddenRequestError({- name: "Org auth enforced. Cannot access org-scoped resource. Login with Google SSO to access this resource."+ message:+ "Organization authentication is enforced. Cannot access org-scoped resource. Login with Google SSO to access this resource."});}@@ -232,7 +233,8 @@ function validateOrgSSO(actorAuthMethod !== AuthMethod.OIDC) {throw new ForbiddenRequestError({- name: "Org auth enforced. Cannot access org-scoped resource. Login with SAML SSO to access this resource."+ message:+ "Organization authentication is enforced. Cannot access org-scoped resource. Login with SAML SSO to access this resource."});}}