remove reference to premium plan
This commit is contained in:
parent
491d5b2de7
commit
cee89b95b1
|
@ -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