mirror of
https://github.com/bitwarden/browser
synced 2026-02-28 18:43:26 +00:00
feat: add 'My Items' feature to enterprise organizations (#19064)
This commit is contained in:
@@ -14,6 +14,7 @@ export class PlanResponse extends BaseResponse {
|
||||
trialPeriodDays: number;
|
||||
hasSelfHost: boolean;
|
||||
hasPolicies: boolean;
|
||||
hasMyItems: boolean;
|
||||
hasGroups: boolean;
|
||||
hasDirectory: boolean;
|
||||
hasEvents: boolean;
|
||||
@@ -42,6 +43,7 @@ export class PlanResponse extends BaseResponse {
|
||||
this.trialPeriodDays = this.getResponseProperty("TrialPeriodDays");
|
||||
this.hasSelfHost = this.getResponseProperty("HasSelfHost");
|
||||
this.hasPolicies = this.getResponseProperty("HasPolicies");
|
||||
this.hasMyItems = this.getResponseProperty("HasMyItems");
|
||||
this.hasGroups = this.getResponseProperty("HasGroups");
|
||||
this.hasDirectory = this.getResponseProperty("HasDirectory");
|
||||
this.hasEvents = this.getResponseProperty("HasEvents");
|
||||
|
||||
@@ -40,6 +40,7 @@ describe("DefaultSubscriptionPricingService", () => {
|
||||
trialPeriodDays: 7,
|
||||
hasSelfHost: false,
|
||||
hasPolicies: false,
|
||||
hasMyItems: false,
|
||||
hasGroups: false,
|
||||
hasDirectory: false,
|
||||
hasEvents: false,
|
||||
@@ -80,6 +81,7 @@ describe("DefaultSubscriptionPricingService", () => {
|
||||
trialPeriodDays: 7,
|
||||
hasSelfHost: true,
|
||||
hasPolicies: true,
|
||||
hasMyItems: false,
|
||||
hasGroups: true,
|
||||
hasDirectory: true,
|
||||
hasEvents: true,
|
||||
@@ -131,6 +133,7 @@ describe("DefaultSubscriptionPricingService", () => {
|
||||
trialPeriodDays: 7,
|
||||
hasSelfHost: true,
|
||||
hasPolicies: true,
|
||||
hasMyItems: true,
|
||||
hasGroups: true,
|
||||
hasDirectory: true,
|
||||
hasEvents: true,
|
||||
@@ -181,6 +184,7 @@ describe("DefaultSubscriptionPricingService", () => {
|
||||
trialPeriodDays: null,
|
||||
hasSelfHost: false,
|
||||
hasPolicies: false,
|
||||
hasMyItems: false,
|
||||
hasGroups: false,
|
||||
hasDirectory: false,
|
||||
hasEvents: false,
|
||||
|
||||
Reference in New Issue
Block a user