remove reference to premium plan

This commit is contained in:
Peter Clement 2023-09-12 09:34:11 +01:00
parent 491d5b2de7
commit cee89b95b1
1 changed files with 1 additions and 5 deletions

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,