Merge branch 'master' into budi-7476-postgres-sql-invalid-time-value-error-when-saving-json-as

This commit is contained in:
Mel O'Hagan 2023-09-12 10:37:30 +01:00
commit 91fedc8241
3 changed files with 2 additions and 11 deletions

View File

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

View File

@ -52,11 +52,6 @@ export const BuilderRoleDescriptions = [
icon: "User",
label: "App user - Only has access to published apps",
},
{
value: BudibaseRoles.Developer,
icon: "Hammer",
label: "Developer - Access to the app builder",
},
{
value: BudibaseRoles.Admin,
icon: "Draw",

View File

@ -61,11 +61,7 @@ export async function getInheritablePermissions(
export async function allowsExplicitPermissions(resourceId: string) {
if (isViewID(resourceId)) {
const allowed = await features.isViewPermissionEnabled()
const minPlan = !allowed
? env.SELF_HOSTED
? PlanType.BUSINESS
: PlanType.PREMIUM
: undefined
const minPlan = !allowed ? PlanType.BUSINESS : undefined
return {
allowed,