[PM-32401] fix: Prevent copy TOTP autofill action for non-premium accounts#2479
[PM-32401] fix: Prevent copy TOTP autofill action for non-premium accounts#2479matt-livefront merged 1 commit intomainfrom
Conversation
|
Claude finished @matt-livefront's task in 2m 38s —— View job Code Review: PM-32401 Prevent copy TOTP autofill action for non-premium accounts
SummaryClean PR — no issues found. The implementation correctly prevents the "Copy TOTP" option from appearing in the autofill menu for non-premium users when a cipher is missing a username or password. Key changes reviewed:
The approach aligns well with the prior fix in #2467 and follows the existing patterns in the codebase. LGTM! |
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2479 +/- ##
=======================================
Coverage 86.86% 86.87%
=======================================
Files 1846 1846
Lines 163165 163208 +43
=======================================
+ Hits 141741 141784 +43
Misses 21424 21424 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

🎟️ Tracking
PM-32401
📔 Objective
Similar to #2467
This handles the case where a cipher is missing a username or password and autofill can't be performed. From the vault list, a user is given the option of copying individual fields from within a cipher. If the cipher contains a TOTP key, but the user doesn't have premium (or the org doesn't use TOTP), the "Copy TOTP" code option shouldn't be available in the menu.
📸 Screenshots