-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-28627] Create Default Collection Restore #6879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6879 +/- ##
=======================================
Coverage 56.07% 56.07%
=======================================
Files 1968 1969 +1
Lines 86927 86956 +29
Branches 7742 7744 +2
=======================================
+ Hits 48741 48763 +22
- Misses 36385 36392 +7
Partials 1801 1801 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @jrmccannon's task in 2m 42s —— View job Code Review: PM-28627 Create Default Collection RestoreVerdict: 🟢 Approved - Previous finding resolved, implementation is sound. SummaryThis PR implements the ability to create default collections when restoring organization users who have the Data Ownership policy enabled. The feature is protected by the Re-Review Assessment
Implementation VerifiedArchitecture:
Security: ✅
Correctness: ✅
Test Coverage: ✅
🤖 Claude Code Review | Run by @jrmccannon |

🎟️ Tracking
PM-28627
📔 Objective
When restoring a user from the internal endpoint and the organiation has the Data Ownership policy enabled, we would like to create the default user collection for the user if it does not exist already. This uses an idemponent call to do so.
For the single user endpoint, there is a vNext version protected by a feature flag since a request body was added to hold the encrypted default collection name. The default user collection name property was added to the bulk method request model.
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes