mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00: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:
@@ -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);
|
||||
|
||||
@@ -27,6 +27,7 @@ const DisallowedPlanTypes = [
|
||||
PlanType.Free,
|
||||
PlanType.FamiliesAnnually2019,
|
||||
PlanType.FamiliesAnnually,
|
||||
PlanType.TeamsStarter,
|
||||
];
|
||||
|
||||
@Component({
|
||||
|
||||
Reference in New Issue
Block a user