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
fix(sec-4): drop comment
Tre Dubrava2465796b4df9
diff --git a/backend/src/ee/services/project-template/project-template-service.ts b/backend/src/ee/services/project-template/project-template-service.tsindex 37cecb1924..b88441546c 100644--- a/backend/src/ee/services/project-template/project-template-service.ts+++ b/backend/src/ee/services/project-template/project-template-service.ts@@ -276,9 +276,6 @@ export const projectTemplateServiceFactory = ({OrgPermissionProjectTemplateActions.Create,OrgPermissionSubjects.ProjectTemplates);- // Custom project roles and Admin memberships grant elevated access in every project spawned- // from the template; gate them behind GrantPrivileges since the actor here is org-scoped and- // has no per-project boundary to check against.const hasElevatedContent =(roles?.length ?? 0) > 0 ||[...(users ?? []), ...(groups ?? []), ...(identities ?? []), ...(projectManagedIdentities ?? [])].some((m) =>