Skip to content

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

remove identities from bootstrap

x032205d9f77227623c
diff --git a/backend/src/ee/services/pam-project/pam-project-bootstrap.ts b/backend/src/ee/services/pam-project/pam-project-bootstrap.ts
index 6beaf093e8..b6f8e8970b 100644
--- a/backend/src/ee/services/pam-project/pam-project-bootstrap.ts
+++ b/backend/src/ee/services/pam-project/pam-project-bootstrap.ts
@@ -249,29 +249,6 @@ export const bootstrapPamProject = async (
);
}
- for (const identityId of adminIdentityIds) {
- // eslint-disable-next-line no-await-in-loop
- const membership = await membershipDAL.create(
- {
- scope: AccessScope.Project,
- scopeOrgId: orgId,
- scopeProjectId: project.id,
- actorIdentityId: identityId,
- isActive: true
- },
- tx
- );
-
- // eslint-disable-next-line no-await-in-loop
- await membershipRoleDAL.create(
- {
- membershipId: membership.id,
- role: ProjectMembershipRole.Admin
- },
- tx
- );
- }
-
for (const template of DEFAULT_ACCOUNT_TEMPLATES) {
// eslint-disable-next-line no-await-in-loop
await tx(TableName.PamAccountTemplate).insert({