mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
[AC-1724] Remove BulkCollectionAccess feature flag (#8502)
This commit is contained in:
parent
8cdc94076e
commit
5cb2e99b2f
@ -37,7 +37,7 @@ export class VaultItemsComponent {
|
|||||||
@Input() showBulkMove: boolean;
|
@Input() showBulkMove: boolean;
|
||||||
@Input() showBulkTrashOptions: boolean;
|
@Input() showBulkTrashOptions: boolean;
|
||||||
// Encompasses functionality only available from the organization vault context
|
// Encompasses functionality only available from the organization vault context
|
||||||
@Input() showAdminActions: boolean;
|
@Input() showAdminActions = false;
|
||||||
@Input() allOrganizations: Organization[] = [];
|
@Input() allOrganizations: Organization[] = [];
|
||||||
@Input() allCollections: CollectionView[] = [];
|
@Input() allCollections: CollectionView[] = [];
|
||||||
@Input() allGroups: GroupView[] = [];
|
@Input() allGroups: GroupView[] = [];
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
[cloneableOrganizationCiphers]="false"
|
[cloneableOrganizationCiphers]="false"
|
||||||
[showAdminActions]="false"
|
[showAdminActions]="false"
|
||||||
(onEvent)="onVaultItemsEvent($event)"
|
(onEvent)="onVaultItemsEvent($event)"
|
||||||
[showBulkEditCollectionAccess]="showBulkCollectionAccess$ | async"
|
|
||||||
>
|
>
|
||||||
</app-vault-items>
|
</app-vault-items>
|
||||||
<div
|
<div
|
||||||
|
@ -39,7 +39,6 @@ import { TokenService } from "@bitwarden/common/auth/abstractions/token.service"
|
|||||||
import { UserVerificationService } from "@bitwarden/common/auth/abstractions/user-verification/user-verification.service.abstraction";
|
import { UserVerificationService } from "@bitwarden/common/auth/abstractions/user-verification/user-verification.service.abstraction";
|
||||||
import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abstractions/account/billing-account-profile-state.service";
|
import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abstractions/account/billing-account-profile-state.service";
|
||||||
import { EventType } from "@bitwarden/common/enums";
|
import { EventType } from "@bitwarden/common/enums";
|
||||||
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
|
|
||||||
import { BroadcasterService } from "@bitwarden/common/platform/abstractions/broadcaster.service";
|
import { BroadcasterService } from "@bitwarden/common/platform/abstractions/broadcaster.service";
|
||||||
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
|
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
@ -145,10 +144,6 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
protected selectedCollection: TreeNode<CollectionView> | undefined;
|
protected selectedCollection: TreeNode<CollectionView> | undefined;
|
||||||
protected canCreateCollections = false;
|
protected canCreateCollections = false;
|
||||||
protected currentSearchText$: Observable<string>;
|
protected currentSearchText$: Observable<string>;
|
||||||
protected showBulkCollectionAccess$ = this.configService.getFeatureFlag$(
|
|
||||||
FeatureFlag.BulkCollectionAccess,
|
|
||||||
false,
|
|
||||||
);
|
|
||||||
|
|
||||||
private searchText$ = new Subject<string>();
|
private searchText$ = new Subject<string>();
|
||||||
private refresh$ = new BehaviorSubject<void>(null);
|
private refresh$ = new BehaviorSubject<void>(null);
|
||||||
|
@ -51,9 +51,7 @@
|
|||||||
[cloneableOrganizationCiphers]="true"
|
[cloneableOrganizationCiphers]="true"
|
||||||
[showAdminActions]="true"
|
[showAdminActions]="true"
|
||||||
(onEvent)="onVaultItemsEvent($event)"
|
(onEvent)="onVaultItemsEvent($event)"
|
||||||
[showBulkEditCollectionAccess]="
|
[showBulkEditCollectionAccess]="organization?.flexibleCollections"
|
||||||
(showBulkEditCollectionAccess$ | async) && organization?.flexibleCollections
|
|
||||||
"
|
|
||||||
[showBulkAddToCollections]="organization?.flexibleCollections"
|
[showBulkAddToCollections]="organization?.flexibleCollections"
|
||||||
[viewingOrgVault]="true"
|
[viewingOrgVault]="true"
|
||||||
>
|
>
|
||||||
|
@ -143,10 +143,6 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
protected currentSearchText$: Observable<string>;
|
protected currentSearchText$: Observable<string>;
|
||||||
protected editableCollections$: Observable<CollectionView[]>;
|
protected editableCollections$: Observable<CollectionView[]>;
|
||||||
protected allCollectionsWithoutUnassigned$: Observable<CollectionAdminView[]>;
|
protected allCollectionsWithoutUnassigned$: Observable<CollectionAdminView[]>;
|
||||||
protected showBulkEditCollectionAccess$ = this.configService.getFeatureFlag$(
|
|
||||||
FeatureFlag.BulkCollectionAccess,
|
|
||||||
false,
|
|
||||||
);
|
|
||||||
private _flexibleCollectionsV1FlagEnabled: boolean;
|
private _flexibleCollectionsV1FlagEnabled: boolean;
|
||||||
|
|
||||||
protected get flexibleCollectionsV1Enabled(): boolean {
|
protected get flexibleCollectionsV1Enabled(): boolean {
|
||||||
|
@ -2,7 +2,6 @@ export enum FeatureFlag {
|
|||||||
BrowserFilelessImport = "browser-fileless-import",
|
BrowserFilelessImport = "browser-fileless-import",
|
||||||
ItemShare = "item-share",
|
ItemShare = "item-share",
|
||||||
FlexibleCollectionsV1 = "flexible-collections-v-1", // v-1 is intentional
|
FlexibleCollectionsV1 = "flexible-collections-v-1", // v-1 is intentional
|
||||||
BulkCollectionAccess = "bulk-collection-access",
|
|
||||||
VaultOnboarding = "vault-onboarding",
|
VaultOnboarding = "vault-onboarding",
|
||||||
GeneratorToolsModernization = "generator-tools-modernization",
|
GeneratorToolsModernization = "generator-tools-modernization",
|
||||||
KeyRotationImprovements = "key-rotation-improvements",
|
KeyRotationImprovements = "key-rotation-improvements",
|
||||||
|
Loading…
Reference in New Issue
Block a user