1
0
Fork 0
mirror of synced 2024-07-14 18:55:45 +12:00

remove reference to premium plan

This commit is contained in:
Peter Clement 2023-09-12 09:34:11 +01:00
parent 491d5b2de7
commit cee89b95b1

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,