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

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",
"packages": [
"packages/*"

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,

View file

@ -17,8 +17,7 @@ describe("getExternalSchema", () => {
}
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")
const container = await new GenericContainer("postgres:13.12")
.withExposedPorts(5432)
.withEnv("POSTGRES_PASSWORD", "password")
.start()