From f6eaa610d0178f690c31d20d48aced6918ae517c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 28 Jul 2023 15:54:55 +0100 Subject: [PATCH] App builders can't create apps anymore, removing this functionality. --- packages/server/src/api/controllers/application.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index 9538790827..6013dc100d 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -374,10 +374,6 @@ async function appPostCreate(ctx: UserCtx, app: App) { tenantId, appId: app.appId, }) - // they are an app builder, creating a new app, make sure they can access it - if (users.hasAppBuilderPermissions(ctx.user)) { - await users.grantAppBuilderAccess(ctx.user._id!, app.appId) - } await creationEvents(ctx.request, app) // app import & template creation if (ctx.request.body.useTemplate === "true") {