Jackson Engstrom
a1bf6afad6
[PM-21564] Hide buttons when user has View access to an item
...
* Changes attachment modal to remove choose file button and changes upload button to close button if the user doesn't have edit rights to the cipher.
2026-01-30 14:01:10 -08:00
Nik Gilmore
e694ab490c
[PM-23562] Prevent closing dialog and window when uploading an attachment ( #17287 )
...
* Prevent users from cancelling an in-flight upload, and attempt to block them from closing the window.
* Add comment for deprecated event.returnValue
2025-12-01 12:50:13 -08:00
Brandon Treston
f9edf048e3
[PM-19383] admins unable to download attachments ( #14652 )
...
* add admin support for downloading attachments
* fix delete and upload
* fix delete admin to return a response
* fix upload
* add missing param
* use getCipherAdmin
* fix cli
* fix QA bugs
* null check
* fix test
* cleanup
* add null check
* change comment
2025-05-08 09:49:15 -04:00
Rui Tomé
9cd08e8a9f
[PM-18322] Fix: Allow organization admins to upload attachments for items without direct access ( #14361 )
...
* Wire organization ID into AttachmentsV2Component for org-based ciphers
* Enhance AttachmentsV2Component to accept organization ID for improved handling of org-based ciphers
* Integrate organization ID into VaultComponent for AttachmentsV2Component to enhance org-based cipher handling
* Add unit tests for CipherAttachmentsComponent to validate attachment saving behavior for admins
- Introduced mocks for ApiService and OrganizationService in the test setup.
- Updated tests to check `saveAttachmentWithServer` calls with the correct parameters, including an `isAdmin` flag for admin API usage.
* Fix unit tests for AttachmentsV2Component by adding mocks for ApiService and OrganizationService
* Fix AttachmentsV2Component tests
2025-04-29 12:42:02 +01:00
Jordan Aasen
b589951c90
[PM-18520] - Update desktop cipher forms to use the same UI as web app and extension - ( #13992 )
...
* WIP - cipher form refactor
* cipher clone
* cipher clone
* finalize item view and form changes
* fix tests
* hide changes behind feature flag
* set flag to false
* create vault items v2. add button selector
* revert change to flag and vault items
* add attachments
* revert change to tsconfig
* move module
* fix modules
* cleanup
* fix import
* fix import
* fix import
* remove showForm
* update feature flag
* wip - cleanup
* fix up services
* cleanup
* fix type errors
* fix lint errors
* add dialog component
* revert changes to menu
* revert changes to menu
* fix vault-items-v2
* set feature flag to FALSE
* add missing i18n keys. fix collection state
* remove generator. update modules. bug fix
* fix restricted imports
* mark method as deprecated. add uri arg back
* fix shared.module
* fix shared.module
* fix shared.module
* add uri
* check and prompt for premium when opening attachments dialog
* move VaultItemDialogResult back
* fix import in spec file
* update copy functions
* fix MP reprompt issue
2025-04-23 11:13:44 -07:00
Jason Ng
6041c460b7
[PM-9809] attachments v2 refactor ( #10142 )
...
* update attachments v2 view. using download attachment component. remove excess code. Refactor location of attachments v2
2024-07-23 13:27:39 -04:00
Jason Ng
6d6785297b
[PM-7161] browser v2 view container ( #9723 )
...
* Build new view-v2 component and reusable view sections. Custom Fields, Item Details, Attachments, Additional Info, Item History
2024-07-10 00:11:51 -04:00