-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PM-14995 Hide TOTP for non premium org items even if individual user has premium account #4390
Conversation
New Issues
Fixed Issues
|
f9b3b31
to
f311a8f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4390 +/- ##
==========================================
- Coverage 89.01% 89.00% -0.02%
==========================================
Files 451 451
Lines 39123 39172 +49
Branches 5532 5550 +18
==========================================
+ Hits 34827 34864 +37
- Misses 2368 2370 +2
- Partials 1928 1938 +10 ☔ View full report in Codecov by Sentry. |
.value | ||
?.activeAccount | ||
?.getOrganizationPremiumStatusMap() | ||
?: emptyMap() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just do orEmpty()
val organizationOwnedTotpItems = totpItemsGroupedByOwnership[true] | ||
?.filter { | ||
it.login?.totp != null && | ||
(organizationPremiumStatusMap[it.id] == true || it.organizationUseTotp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting here
it.login?.totp != null && | ||
(organizationPremiumStatusMap[it.id] == true || it.organizationUseTotp) | ||
} | ||
?: emptyList() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do more orEmpty()
s
...main/java/com/x8bit/bitwarden/ui/vault/feature/verificationcode/VerificationCodeViewModel.kt
Outdated
Show resolved
Hide resolved
This feature is in direct violation to the outline of your user agreements and feature list. "Storage of keys is available to all accounts, however TOTP code generation requires Premium or membership to a paid organization (Families, Teams, or Enterprise)." https://bitwarden.com/help/integrated-authenticator/ OR not AND |
@dseverns-livefront @SaintPatrck this PR goes against all of the copy on the Bitwarden website[1][2] and removes access to TOTP codes for paid customers with ZERO notice. This needs to be reverted. [1]https://bitwarden.com/help/about-organizations/#comparing-organizations-with-premium |
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-14995
📔 Objective
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes