Browse Source

[AC-1806] Hide Teams Starter for MSP creating client org (#6835)

* Hide Teams Starter plan for provider creating new client org

* QA: Disallow addition of existing Teams Starter orgs
pull/6874/head
Alex Morask 2 years ago committed by GitHub
parent
commit
356e3fc7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      apps/web/src/app/billing/organizations/organization-plans.component.ts
  2. 1
      bitwarden_license/bit-web/src/app/admin-console/providers/clients/clients.component.ts

3
apps/web/src/app/billing/organizations/organization-plans.component.ts

@ -236,7 +236,8 @@ export class OrganizationPlansComponent implements OnInit, OnDestroy {
plan.product === ProductType.TeamsStarter) && plan.product === ProductType.TeamsStarter) &&
(this.currentProductType !== ProductType.TeamsStarter || (this.currentProductType !== ProductType.TeamsStarter ||
plan.product === ProductType.Teams || plan.product === ProductType.Teams ||
plan.product === ProductType.Enterprise) plan.product === ProductType.Enterprise) &&
(!this.providerId || plan.product !== ProductType.TeamsStarter)
); );
result.sort((planA, planB) => planA.displaySortOrder - planB.displaySortOrder); result.sort((planA, planB) => planA.displaySortOrder - planB.displaySortOrder);

1
bitwarden_license/bit-web/src/app/admin-console/providers/clients/clients.component.ts

@ -27,6 +27,7 @@ const DisallowedPlanTypes = [
PlanType.Free, PlanType.Free,
PlanType.FamiliesAnnually2019, PlanType.FamiliesAnnually2019,
PlanType.FamiliesAnnually, PlanType.FamiliesAnnually,
PlanType.TeamsStarter,
]; ];
@Component({ @Component({

Loading…
Cancel
Save