[PM-38769] Fix OrganizationConnectionsController logic#7845
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the authorization and correctness fixes in Code Review DetailsNo blocking findings. Validated during review:
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7845 +/- ##
==========================================
+ Coverage 61.22% 61.25% +0.02%
==========================================
Files 2209 2209
Lines 97716 97744 +28
Branches 8815 8816 +1
==========================================
+ Hits 59824 59870 +46
+ Misses 35768 35751 -17
+ Partials 2124 2123 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-38769
📔 Objective
Fixes for
OrganizationConnectionsControllerlogic - see Jira ticket for more details. I avoided any more comprehensive refactors because this code rarely changes, and aligning this with our current practices would require a rewrite of the controller and related commands. Better to make the surgical fix with an xmldoc signpost for the future.That said, I did already add a bunch of tests before I decided on this route, so I've included them here.
I've also removed the
#nullable disabledirective and the obsolete PUT delete endpoint, because they were quick wins. This is only consumed by clients, and it uses theDELETEverb.📸 Screenshots