1
0
Fork 0
mirror of synced 2024-08-15 01:51:33 +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) { 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,