mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +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:
parent
ade9e9adfe
commit
356e3fc7fc
@ -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);
|
||||||
|
@ -27,6 +27,7 @@ const DisallowedPlanTypes = [
|
|||||||
PlanType.Free,
|
PlanType.Free,
|
||||||
PlanType.FamiliesAnnually2019,
|
PlanType.FamiliesAnnually2019,
|
||||||
PlanType.FamiliesAnnually,
|
PlanType.FamiliesAnnually,
|
||||||
|
PlanType.TeamsStarter,
|
||||||
];
|
];
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
Loading…
Reference in New Issue
Block a user