mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[AC-1174] Bulk collection management (#6133)
* [AC-1174] Add bulk edit collection access event type * [AC-1174] Add bulk edit collection access menu option * [AC-1174] Add initial bulk collections access dialog * [AC-1174] Add logic to open bulk edit collections dialog * [AC-1174] Move AccessItemView helper methods to access selector model to be shared * [AC-1174] Add access selector to bulk collections dialog * [AC-1174] Add bulk assign access method to collection-admin service * [AC-1174] Introduce strongly typed BulkCollectionAccessRequest model * [AC-1174] Update vault item event type name * Update DialogService dependency --------- Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
@@ -177,4 +177,13 @@ export class VaultItemsComponent {
|
||||
);
|
||||
this.dataSource.data = items;
|
||||
}
|
||||
|
||||
protected bulkEditCollectionAccess() {
|
||||
this.event({
|
||||
type: "bulkEditCollectionAccess",
|
||||
items: this.selection.selected
|
||||
.filter((item) => item.collection !== undefined)
|
||||
.map((item) => item.collection),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user