1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

PM-15091 Remove client side featureflag.AccessIntelligence and use DB feature flag (#12247)

* PM-15091 remove featureflag.AccessIntelligence

* removed unwanted lines of code

* fixed merge conflict
This commit is contained in:
Vijay Oommen
2024-12-05 11:24:51 -06:00
committed by GitHub
parent c11f429ddb
commit d6e1fe70ca
9 changed files with 12 additions and 10 deletions

View File

@@ -56,6 +56,7 @@ describe("ORGANIZATIONS state", () => {
allowAdminAccessToAllCollectionItems: false,
familySponsorshipLastSyncDate: new Date(),
userIsManagedByOrganization: false,
useRiskInsights: false,
},
};
const result = sut.deserializer(JSON.parse(JSON.stringify(expectedResult)));

View File

@@ -56,6 +56,7 @@ export class OrganizationData {
limitCollectionDeletion: boolean;
allowAdminAccessToAllCollectionItems: boolean;
userIsManagedByOrganization: boolean;
useRiskInsights: boolean;
constructor(
response?: ProfileOrganizationResponse,
@@ -116,6 +117,7 @@ export class OrganizationData {
this.limitCollectionDeletion = response.limitCollectionDeletion;
this.allowAdminAccessToAllCollectionItems = response.allowAdminAccessToAllCollectionItems;
this.userIsManagedByOrganization = response.userIsManagedByOrganization;
this.useRiskInsights = response.useRiskInsights;
this.isMember = options.isMember;
this.isProviderUser = options.isProviderUser;