Merge branch 'master' into budi-7476-postgres-sql-invalid-time-value-error-when-saving-json-as
This commit is contained in:
commit
91fedc8241
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "2.10.3",
|
||||
"version": "2.10.4",
|
||||
"npmClient": "yarn",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue