1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-26 17:43:22 +00:00

adds cipher edit permission to the attachments dialog in the vault-v3 (#19231)

This commit is contained in:
Nick Krantz
2026-02-25 11:33:39 -06:00
committed by GitHub
parent 4024d34df8
commit 0bbdcb69c7

View File

@@ -501,6 +501,7 @@ export class VaultComponent implements OnInit, OnDestroy, CopyClickListener {
}
const dialogRef = AttachmentsV2Component.open(this.dialogService, {
cipherId: this.cipherId as CipherId,
canEditCipher: this.cipher().edit,
});
const result = await firstValueFrom(dialogRef.closed).catch((): any => null);
if (