App builders can't create apps anymore, removing this functionality.
This commit is contained in:
parent
72438f531d
commit
f6eaa610d0
|
@ -374,10 +374,6 @@ async function appPostCreate(ctx: UserCtx, app: App) {
|
||||||
tenantId,
|
tenantId,
|
||||||
appId: app.appId,
|
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)
|
await creationEvents(ctx.request, app)
|
||||||
// app import & template creation
|
// app import & template creation
|
||||||
if (ctx.request.body.useTemplate === "true") {
|
if (ctx.request.body.useTemplate === "true") {
|
||||||
|
|
Loading…
Reference in New Issue