1
0
Fork 0
mirror of synced 2024-08-09 15:17:57 +12:00

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,
prodAppId
)
const isAppBuilder = sdk.users.hasAppBuilderPermissions(user, prodAppId)
const isAppBuilder = user.builder?.apps?.includes(prodAppId)
let role
if (isAdminOrGlobalBuilder) {
role = Constants.Roles.ADMIN

View file

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