Skip to content

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

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.ts
index 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) =>