Skip to content

[PM-32833] Remove Input Password Flag from Emergency Access#20291

Merged
rr-bw merged 3 commits intoauth/pm-32833/remove-input-password-flag-basefrom
auth/pm-32833/emergency-access
Apr 24, 2026
Merged

[PM-32833] Remove Input Password Flag from Emergency Access#20291
rr-bw merged 3 commits intoauth/pm-32833/remove-input-password-flag-basefrom
auth/pm-32833/emergency-access

Conversation

@rr-bw
Copy link
Copy Markdown
Contributor

@rr-bw rr-bw commented Apr 20, 2026

🎟️ Tracking

PM-32833

📔 Objective

This PR removes pm-27086-update-authentication-apis-for-input-password feature flag usage from the Emergency Access takeover flow.


Note

This PR is part of a larger group of PRs (split up for easier review) that will each get merged into a base branch for this flag removal work: auth/pm-32833/remove-input-password-flag-base (base PR). That base branch is the one that will get merged to main.

Breakdown of branching structure:

main
 └── auth/pm-32833/remove-input-password-flag-base  ← targets main; accumulates sub-PRs
     ├── auth/pm-32833/registration-finish            ← targets base
     ├── auth/pm-32833/set-initial-password           ← targets base
     ├── auth/pm-32833/change-password                ← targets base
     ├── auth/pm-32833/emergency-access               ← targets base [THIS PR 🟢]
     ├── auth/pm-32833/account-recovery               ← targets base
     └── auth/pm-32833/input-password-component       ← targets base; reviewed LAST

@rr-bw rr-bw added the ai-review Request a Claude code review label Apr 20, 2026
@rr-bw rr-bw changed the base branch from main to auth/pm-32833/remove-input-password-flag-base April 20, 2026 22:12
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Logo
Checkmarx One – Scan Summary & Detailsf3c4e507-b04a-44db-9970-77f701ab691d

Great job! No new security vulnerabilities introduced in this pull request

@rr-bw rr-bw marked this pull request as ready for review April 20, 2026 23:08
@rr-bw rr-bw requested a review from a team as a code owner April 20, 2026 23:08
@rr-bw rr-bw requested a review from ike-kottlowski April 20, 2026 23:08
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

Reviewed removal of the PM27086_UpdateAuthenticationApisForInputPassword feature flag from EmergencyAccessService.takeover() and its spec. The previously-flagged "enabled" path was retained verbatim, the ConfigService dependency was cleanly removed from the constructor and imports, and unused test imports (CsprngArray, MasterKey, PBKDF2KdfConfig, ConfigService) were pruned. Angular DI in emergency-access.module.ts handles constructor resolution automatically and no manual callers of new EmergencyAccessService(...) exist outside of the spec file, which was updated accordingly. Remaining references to the flag elsewhere in the codebase are intentionally scoped to sibling sub-PRs per the branching plan in the description.

Code Review Details

No findings.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.01%. Comparing base (9280b12) to head (3a74355).
⚠️ Report is 1 commits behind head on auth/pm-32833/remove-input-password-flag-base.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                                Coverage Diff                                @@
##           auth/pm-32833/remove-input-password-flag-base   #20291      +/-   ##
=================================================================================
- Coverage                                          47.02%   47.01%   -0.02%     
=================================================================================
  Files                                               3913     3913              
  Lines                                             118323   118308      -15     
  Branches                                           18103    18101       -2     
=================================================================================
- Hits                                               55647    55623      -24     
- Misses                                             58486    58494       +8     
- Partials                                            4190     4191       +1     

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rr-bw rr-bw marked this pull request as draft April 21, 2026 17:13
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip: Check "Hide whitespace" when reviewing this file.

Image

@rr-bw rr-bw marked this pull request as ready for review April 21, 2026 17:22
@rr-bw rr-bw merged commit 061b9ae into auth/pm-32833/remove-input-password-flag-base Apr 24, 2026
69 checks passed
@rr-bw rr-bw deleted the auth/pm-32833/emergency-access branch April 24, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants