Merge branch 'master' into fix/more-less-than-sql
This commit is contained in:
commit
8573a8775f
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "2.10.6",
|
||||
"version": "2.10.8",
|
||||
"npmClient": "yarn",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue