1
0
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:
Alex Morask
2026-02-26 11:00:18 -06:00
committed by GitHub
parent 6b326a5fd0
commit d8fdfdf559
2 changed files with 6 additions and 0 deletions

View File

@@ -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");

View File

@@ -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,