mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[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
This commit is contained in:
@@ -39,7 +39,7 @@ export class DownloadAttachmentComponent {
|
||||
// Required for fetching attachment data when viewed from cipher via emergency access
|
||||
@Input() emergencyAccessId?: EmergencyAccessId;
|
||||
|
||||
/** When accessing from the admin console, we will want to call the admin endpoint */
|
||||
/** When owners/admins can mange all items and when accessing from the admin console, use the admin endpoint */
|
||||
@Input() admin?: boolean = false;
|
||||
|
||||
/** The organization key if the cipher is associated with one */
|
||||
|
||||
Reference in New Issue
Block a user