From cdd8a697e8687fb14c2d7899c45919ce481eccac Mon Sep 17 00:00:00 2001
From: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
Date: Tue, 25 Nov 2025 08:41:41 -0600
Subject: [PATCH] do not show copy password button on the web for users that do
not have access (#17635)
---
.../vault-cipher-row.component.html | 10 +-
.../vault-cipher-row.component.spec.ts | 144 ++++++++++++++++++
2 files changed, 150 insertions(+), 4 deletions(-)
create mode 100644 apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.spec.ts
diff --git a/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html b/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
index c09553dab9..c8732154ef 100644
--- a/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
+++ b/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
@@ -109,10 +109,12 @@
{{ "copyUsername" | i18n }}
-
+ @if (cipher.viewPassword) {
+
+ }