1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

[PM-13892] Browser Refresh - Organization item clone permission fix (#11660)

* [PM-13892] Introduce canClone$ method on CipherAuthorizationService

* [PM-13892] Use new canClone$ method for the 3dot menu in browser extension

* [PM-13892] Add todo for vault-items.component.ts
This commit is contained in:
Shane Melton
2024-10-24 14:12:04 -07:00
committed by GitHub
parent 81d7f319f6
commit a0fe4f4ca6
5 changed files with 120 additions and 4 deletions

View File

@@ -194,6 +194,7 @@ export class VaultItemsComponent {
});
}
// TODO: PM-13944 Refactor to use cipherAuthorizationService.canClone$ instead
protected canClone(vaultItem: VaultItem) {
if (vaultItem.cipher.organizationId == null) {
return true;