[PM 40199] Add shared folder alias routes to CiphersController#8043
[PM 40199] Add shared folder alias routes to CiphersController#8043jengstrom-bw wants to merge 6 commits into
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the addition of Code Review DetailsNo blocking findings. Notes:
|
…s-to-cipherscontroller
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8043 +/- ##
===========================================
+ Coverage 14.98% 62.57% +47.58%
===========================================
Files 1392 2299 +907
Lines 60466 100093 +39627
Branches 4797 9023 +4226
===========================================
+ Hits 9063 62630 +53567
+ Misses 51248 35277 -15971
- Partials 155 2186 +2031 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
Jira
📔 Objective
Add shared-folder-named alias routes for the 7 Vault-owned cipher↔collection routes in src/Api/Vault/Controllers/CiphersController.cs; each new action delegates to the existing handler with identical DTOs. Mark each legacy route [Obsolete("Replaced by /shared-folders route; retained for backwards compatibility")] (retained indefinitely — no removal, no Sunset header). No business-logic/DTO/model changes; no server-side flag check (unflagged/additive). Out of scope: AC collection-resource CRUD, public API, /sync, cipher create/edit.
Route map: /collections→/shared-folders, /collections_v2→/shared-folders_v2, /collections-admin→/shared-folders-admin (PUT+POST each), /bulk-collections→/bulk-shared-folders.
Files: src/Api/Vault/Controllers/CiphersController.cs, test/Api.Test/Vault/Controllers/CiphersControllerTests.cs