Merge pull request #11748 from Budibase/fix/remove-developer-role-from-imports
Some small bug fixes
This commit is contained in:
commit
936ab4667e
|
@ -52,11 +52,6 @@ export const BuilderRoleDescriptions = [
|
||||||
icon: "User",
|
icon: "User",
|
||||||
label: "App user - Only has access to published apps",
|
label: "App user - Only has access to published apps",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
value: BudibaseRoles.Developer,
|
|
||||||
icon: "Hammer",
|
|
||||||
label: "Developer - Access to the app builder",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
value: BudibaseRoles.Admin,
|
value: BudibaseRoles.Admin,
|
||||||
icon: "Draw",
|
icon: "Draw",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4638ae916e55ce89166095578cbd01745d0ee9ee
|
Subproject commit 961d683794442f615468d44b684e5a94633109eb
|
|
@ -61,11 +61,7 @@ export async function getInheritablePermissions(
|
||||||
export async function allowsExplicitPermissions(resourceId: string) {
|
export async function allowsExplicitPermissions(resourceId: string) {
|
||||||
if (isViewID(resourceId)) {
|
if (isViewID(resourceId)) {
|
||||||
const allowed = await features.isViewPermissionEnabled()
|
const allowed = await features.isViewPermissionEnabled()
|
||||||
const minPlan = !allowed
|
const minPlan = !allowed ? PlanType.BUSINESS : undefined
|
||||||
? env.SELF_HOSTED
|
|
||||||
? PlanType.BUSINESS
|
|
||||||
: PlanType.PREMIUM
|
|
||||||
: undefined
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
allowed,
|
allowed,
|
||||||
|
|
Loading…
Reference in New Issue