1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

[AC-2522] Remove collection enhancements opt-in (#9283)

* Remove FlexibleCollectionsMigration feature flag and code

* Remove api method
This commit is contained in:
Thomas Rittson
2024-05-24 09:00:40 +10:00
committed by GitHub
parent 08a6f91411
commit f2fcf5ce2e
6 changed files with 1 additions and 75 deletions

View File

@@ -82,5 +82,4 @@ export class OrganizationApiServiceAbstraction {
id: string,
request: OrganizationCollectionManagementUpdateRequest,
) => Promise<OrganizationResponse>;
enableCollectionEnhancements: (id: string) => Promise<void>;
}

View File

@@ -352,15 +352,4 @@ export class OrganizationApiService implements OrganizationApiServiceAbstraction
await this.syncService.fullSync(true);
return data;
}
async enableCollectionEnhancements(id: string): Promise<void> {
await this.apiService.send(
"POST",
"/organizations/" + id + "/enable-collection-enhancements",
null,
true,
false,
);
await this.syncService.fullSync(true);
}
}

View File

@@ -9,7 +9,6 @@ export enum FeatureFlag {
FlexibleCollectionsV1 = "flexible-collections-v-1", // v-1 is intentional
VaultOnboarding = "vault-onboarding",
GeneratorToolsModernization = "generator-tools-modernization",
FlexibleCollectionsMigration = "flexible-collections-migration",
ShowPaymentMethodWarningBanners = "show-payment-method-warning-banners",
EnableConsolidatedBilling = "enable-consolidated-billing",
AC1795_UpdatedSubscriptionStatusSection = "AC-1795_updated-subscription-status-section",
@@ -37,7 +36,6 @@ export const DefaultFeatureFlagValue = {
[FeatureFlag.FlexibleCollectionsV1]: FALSE,
[FeatureFlag.VaultOnboarding]: FALSE,
[FeatureFlag.GeneratorToolsModernization]: FALSE,
[FeatureFlag.FlexibleCollectionsMigration]: FALSE,
[FeatureFlag.ShowPaymentMethodWarningBanners]: FALSE,
[FeatureFlag.EnableConsolidatedBilling]: FALSE,
[FeatureFlag.AC1795_UpdatedSubscriptionStatusSection]: FALSE,