diff --git a/libs/common/src/admin-console/models/domain/organization.ts b/libs/common/src/admin-console/models/domain/organization.ts index 42436e0a93d..070617b9e5f 100644 --- a/libs/common/src/admin-console/models/domain/organization.ts +++ b/libs/common/src/admin-console/models/domain/organization.ts @@ -283,9 +283,7 @@ export class Organization { return true; } - return this.hasProvider && this.providerType === ProviderType.Msp - ? this.isProviderUser - : this.isOwner; + return this.hasBillableProvider ? this.isProviderUser : this.isOwner; } get canEditSubscription() { @@ -304,6 +302,14 @@ export class Organization { return this.providerId != null || this.providerName != null; } + get hasBillableProvider() { + return ( + this.hasProvider && + (this.providerType === ProviderType.Msp || + this.providerType === ProviderType.MultiOrganizationEnterprise) + ); + } + get hasReseller() { return this.hasProvider && this.providerType === ProviderType.Reseller; }