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", "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()