Merge branch 'master' into fix/10118

This commit is contained in:
Michael Drury 2023-09-13 15:06:44 +01:00 committed by GitHub
commit b0a56f398e
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@
user, user,
prodAppId prodAppId
) )
const isAppBuilder = sdk.users.hasAppBuilderPermissions(user, prodAppId) const isAppBuilder = user.builder?.apps?.includes(prodAppId)
let role let role
if (isAdminOrGlobalBuilder) { if (isAdminOrGlobalBuilder) {
role = Constants.Roles.ADMIN role = Constants.Roles.ADMIN

View File

@ -111,7 +111,7 @@
}) })
} }
return availableApps.map(app => { return availableApps.map(app => {
const prodAppId = apps.getProdAppID(app.appId) const prodAppId = apps.getProdAppID(app.devId)
return { return {
name: app.name, name: app.name,
devId: app.devId, devId: app.devId,