[PM-40300]: Restrict Provider Users' Account Recovery - #8103
[PM-40300]: Restrict Provider Users' Account Recovery#8103sven-bitwarden wants to merge 1 commit into
Conversation
… of owners/provider admins
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This bugfix closes two account recovery privilege-escalation paths: it extends Code Review Details
Notes considered and not raised as findings: returning |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8103 +/- ##
==========================================
+ Coverage 62.71% 62.74% +0.02%
==========================================
Files 2298 2298
Lines 100115 100151 +36
Branches 9011 9015 +4
==========================================
+ Hits 62785 62835 +50
+ Misses 35147 35134 -13
+ Partials 2183 2182 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| } | ||
|
|
||
| private async Task<bool> CanRecoverAccountAsync(OrganizationUser organizationUser) => | ||
| (await _authorizationService.AuthorizeAsync( |
There was a problem hiding this comment.
Have you seen BulkAuthorizationHandler (here) and an example of its implementation ? This might an avenue to investigate.
🎟️ Tracking
PM-40300