1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[PM-13177] Fix Unassigned cipher collection assignment in AC (#11419)

* [PM-13177] Add saveCollectionsWithServerAdmin to CipherService

* [PM-13177] Introduce isSingleCipherAdmin flag to AssignCollections component
This commit is contained in:
Shane Melton
2024-10-04 12:11:03 -07:00
committed by GitHub
parent 87cb45c520
commit bdf91e24c6
4 changed files with 28 additions and 1 deletions

View File

@@ -1249,6 +1249,8 @@ export class VaultComponent implements OnInit, OnDestroy {
organizationId: this.organization?.id as OrganizationId,
availableCollections,
activeCollection: this.activeFilter?.selectedCollectionNode?.node,
isSingleCipherAdmin:
items.length === 1 && (this.organization?.canEditAllCiphers || items[0].isUnassigned),
},
});