Skip to content
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

BIT-2398 if the org associated with a cipher uses TOTP enable the aut… #3398

Merged
merged 4 commits into from
Jul 5, 2024

Conversation

dseverns-livefront
Copy link
Collaborator

🎟️ Tracking

BIT-2398

📔 Objective

When there are features around TOTP, in addition to having premium, accounts which have a cipher which had TOTP enabled by an Org. should also be considered

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 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 confirmed
    issue 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

Copy link
Contributor

github-actions bot commented Jul 3, 2024

Logo
Checkmarx One – Scan Summary & Detailsb8adbb75-87bc-48ec-8d7b-65e3162362a5

Fixed Issues

Severity Issue Source File / Package
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 361
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 679
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 679
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 679
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemViewModel.kt: 581
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 679
MEDIUM Privacy_Violation /app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt: 679

@dseverns-livefront
Copy link
Collaborator Author

Note This is the iOS PR for similar ticket, the changes there looks a lot close to the legacy app. I took this to be the way we are storing and retrieving the ciphers from disk. This was the only area where I found isPremium considered along with a TOTP feature.

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 84.21053% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.49%. Comparing base (9e0e079) to head (5afbe3c).

Files Patch % Lines
...ture/verificationcode/VerificationCodeViewModel.kt 77.77% 0 Missing and 2 partials ⚠️
...ui/vault/feature/vault/util/VaultDataExtensions.kt 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3398   +/-   ##
=======================================
  Coverage   85.48%   85.49%           
=======================================
  Files         357      357           
  Lines       29090    29104   +14     
  Branches     5064     5070    +6     
=======================================
+ Hits        24869    24882   +13     
  Misses       2164     2164           
- Partials     2057     2058    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

david-livefront
david-livefront previously approved these changes Jul 3, 2024
@dseverns-livefront dseverns-livefront merged commit f13679c into main Jul 5, 2024
9 checks passed
@dseverns-livefront dseverns-livefront deleted the BIT-2398/check-for-org-totp branch July 5, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants