Merge branch 'master' into fix/more-less-than-sql

This commit is contained in:
Michael Drury 2023-09-14 14:04:57 +01:00 committed by GitHub
commit 8573a8775f
4 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "2.10.6", "version": "2.10.8",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*" "packages/*"

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,

View File

@ -17,8 +17,7 @@ describe("getExternalSchema", () => {
} }
beforeAll(async () => { beforeAll(async () => {
// This is left on propose without a tag, so if a new version introduces a breaking change we will be notified const container = await new GenericContainer("postgres:13.12")
const container = await new GenericContainer("postgres")
.withExposedPorts(5432) .withExposedPorts(5432)
.withEnv("POSTGRES_PASSWORD", "password") .withEnv("POSTGRES_PASSWORD", "password")
.start() .start()