1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

[AC-1344] Provider users unable to bulk restore vault items for client organizations (#5259)

* [AC-1344] Simplified DeleteMany and SoftDeleteMany request creation

* [AC-1344] Added method putRestoreManyCiphersAdmin to apiService

* [AC-1344] Added method restoreManyWithServer to cipherService

* [AC-1344] Rewrote if statements and changed the method return type
This commit is contained in:
Rui Tomé
2023-08-02 16:22:28 +01:00
committed by GitHub
parent fb74c2d6ee
commit 72a6fa1f7d
7 changed files with 54 additions and 14 deletions

View File

@@ -1,7 +1,9 @@
export class CipherBulkRestoreRequest {
ids: string[];
organizationId: string;
constructor(ids: string[]) {
constructor(ids: string[], organizationId?: string) {
this.ids = ids == null ? [] : ids;
this.organizationId = organizationId;
}
}