[PM-32743] Add ability to create folders during import to orgs#7568
[PM-32743] Add ability to create folders during import to orgs#7568mcamirault wants to merge 5 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7568 +/- ##
==========================================
+ Coverage 59.64% 64.05% +4.40%
==========================================
Files 2101 2101
Lines 92666 92690 +24
Branches 8254 8257 +3
==========================================
+ Hits 55270 59371 +4101
+ Misses 35443 31277 -4166
- Partials 1953 2042 +89 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| sutProvider.GetDependency<GlobalSettings>() | ||
| .ImportCiphersLimitation = _organizationCiphersLimitations; | ||
|
|
||
| var importCiphersLimitation = new GlobalSettings.ImportCiphersLimitationSettings(); |
There was a problem hiding this comment.
This wasn't used as far as I can tell, removed as cleanup
|
@claude Review this PR |
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the addition of folder import support to organization vault imports. Changes extend Code Review DetailsNo findings. Existing review threads already covered the noteworthy areas: org/personal vault separation via |
|
Claude finished @mcamirault's task in 3m 11s —— View job PR Review: PM-32743 — Add ability to create folders during import to orgs
Overall the change is clean and well-targeted: extracting 🟡 Suggestion — Avoid an unnecessary DB roundtrip when there are no folders
private async Task<List<Folder>> ProcessFolders(...)
{
var userfoldersIds = (await _folderRepository.GetManyByUserIdAsync(importingUserId))...
🟡 Suggestion — Test asserts new-folder count, but not the cipher↔folder mapping
The new assertion verifies that the already-existing folder is filtered out of 🟢 Nit — Pre-existing typo carried forward
🟢 Nit — Comment style
❓ Question — Behavior under
|
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-32743
📔 Objective
This PR adds the ability to create folders and folder relationships when importing into an organization, which is required to enable the ability to convert collections into folders when importing into My Items as described in the ticket
📸 Screenshots