Skip to content

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

fix: group only access to project failing

=44303aca6a0e
diff --git a/backend/src/services/project/project-dal.ts b/backend/src/services/project/project-dal.ts
index 992789da20..896e1b8581 100644
--- a/backend/src/services/project/project-dal.ts
+++ b/backend/src/services/project/project-dal.ts
@@ -51,7 +51,7 @@ export const projectDALFactory = (db: TDbClient) => {
.join(TableName.Project, `${TableName.GroupProjectMembership}.projectId`, `${TableName.Project}.id`)
.where(`${TableName.Project}.orgId`, orgId)
.andWhere((qb) => {
- if (projectType) {
+ if (projectType !== "all") {
void qb.where(`${TableName.Project}.type`, projectType);
}
})