Skip to content

Commit d2d6fc4

Browse files
committed
fix: remove feature flag gate from application read queries
findManyApplications and findOneApplication are basic read queries needed for core workspace functionality. They should not be gated behind IS_APPLICATION_ENABLED, which should only protect mutations (install, uninstall, sync, marketplace operations). Made-with: Cursor
1 parent 34b0628 commit d2d6fc4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/twenty-server/src/engine/core-modules/application/application-install/application-install.resolver.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export class ApplicationInstallResolver {
5454

5555
@Query(() => [ApplicationDTO])
5656
@UseGuards(SettingsPermissionGuard(PermissionFlagType.APPLICATIONS))
57-
@RequireFeatureFlag(FeatureFlagKey.IS_APPLICATION_ENABLED)
5857
async findManyApplications(
5958
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
6059
) {
@@ -63,7 +62,6 @@ export class ApplicationInstallResolver {
6362

6463
@Query(() => ApplicationDTO)
6564
@UseGuards(SettingsPermissionGuard(PermissionFlagType.APPLICATIONS))
66-
@RequireFeatureFlag(FeatureFlagKey.IS_APPLICATION_ENABLED)
6765
async findOneApplication(
6866
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
6967
@Args('id', { type: () => UUIDScalarType, nullable: true }) id?: string,

0 commit comments

Comments
 (0)