1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

[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
This commit is contained in:
Alex Morask 2023-11-10 09:31:48 -05:00 committed by GitHub
parent ade9e9adfe
commit 356e3fc7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -236,7 +236,8 @@ export class OrganizationPlansComponent implements OnInit, OnDestroy {
plan.product === ProductType.TeamsStarter) &&
(this.currentProductType !== ProductType.TeamsStarter ||
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);

View File

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