Merge pull request #11748 from Budibase/fix/remove-developer-role-from-imports

Some small bug fixes
This commit is contained in:
Martin McKeaveney 2023-09-12 10:28:25 +01:00 committed by GitHub
commit 936ab4667e
3 changed files with 2 additions and 11 deletions

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

@ -1 +1 @@
Subproject commit 4638ae916e55ce89166095578cbd01745d0ee9ee
Subproject commit 961d683794442f615468d44b684e5a94633109eb

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,