Merge branch 'fix/more-less-than-sql' of github.com:Budibase/budibase into fix/more-less-than-sql

This commit is contained in:
mike12345567 2023-09-14 14:25:23 +01:00
commit 038604202d
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()