App builders can't create apps anymore, removing this functionality.

This commit is contained in:
mike12345567 2023-07-28 15:54:55 +01:00
parent 72438f531d
commit f6eaa610d0
1 changed files with 0 additions and 4 deletions

View File

@ -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") {