1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-08 05:47:50 +02:00
bitwarden-browser/libs/vault
Nick Krantz a6db7e3086
[PM-10426] Admin Console - Edit Modal (#11249)
* add `hideFolderSelection` for admin console ciphers

* hide folder form field when configuration has `hideFolderSelection` set to true

* add `addCipherV2` method in the admin console vault

* add browser refresh logic for add/edit form

* add admin console implementation of `AdminConsoleCipherFormConfigService`

* only allow edit dialog in admin console

* remove duplicate check

* refactor comments

* initial integration of combined dialog

* integrate add cipher with admin console vault

* account for special admin console collection permissions

* add `edit` variable to AC ciphers when the user has permissions

* Move comment to JSDoc

* pass full cipher to view component

* validate edit access when opening view form

* partial-edit not applicable for admin console

* refactor hideIndividualFields to be more generic and hide favorite button

* pass entire cipher into edit logic to match view logic

* add null check for cipher when attempting to view

* remove logic for personal ownership, not needed in AC
2024-10-07 10:59:23 -05:00
..
src [PM-10426] Admin Console - Edit Modal (#11249) 2024-10-07 10:59:23 -05:00
jest.config.js [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
package.json [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
README.md [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
test.setup.ts [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
tsconfig.json [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00
tsconfig.spec.json [PM-3587] create @bitwarden/vault lib (#6083) 2023-08-22 10:02:48 -04:00

Vault

This lib represents the public API of the Vault team at Bitwarden. Modules are imported using @bitwarden/vault.