1
0
Fork 0
mirror of synced 2024-07-07 15:25:52 +12:00

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

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