1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-11 08:46:16 +01:00
bitwarden-estensione-browser/libs/common
Nick Krantz b42741f313
[PM-13839][PM-13840] Admin Console Collections (#11649)
* allow admin console to see all collections when viewing a cipher

- When "manage all" option is selected all collections should be editable

* update cipher form service to use admin endpoints

* when saving a cipher, choose to move to collections first before saving any other edits

- This handles the case where a cipher is moving from unassigned to assigned and needs to have a collection to save any other edits

* set admin flag when the original cipher has zero collections

- handling the case where the user  un-assigns themselves from a cipher

* add check for the users ability to edit items within the collection

* save cipher edit first to handle when the user unassigns themselves from the cipher

* update filter order of collections

* use cipher returned from the collections endpoint rather than re-fetching it

* fix unit tests by adding canEditItems

* re-enable collection control when orgId is present

* fetch the updated cipher from the respective service for editing a cipher
2024-11-07 10:22:35 -06:00
..
spec BEEEP - Auth AccountService Improvements (#11779) 2024-10-30 17:54:39 -04:00
src [PM-13839][PM-13840] Admin Console Collections (#11649) 2024-11-07 10:22:35 -06:00
custom-matchers.d.ts
jest.config.js
package.json
test.setup.ts
tsconfig.json [Pm-13097] Rename cryptoservice to keyservice and move it to km ownership (#11358) 2024-10-24 19:41:30 +02:00
tsconfig.spec.json