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) {
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue