✨(backend) manage reconciliation requests for user accounts#1878
Merged
✨(backend) manage reconciliation requests for user accounts#1878
Conversation
7c3cf2f to
469e4a3
Compare
|
Size Change: +7.49 kB (+0.18%) Total Size: 4.2 MB
|
Collaborator
469e4a3 to
437d11b
Compare
Collaborator
Author
|
Thanks! @AntoLC can you please implement it? |
437d11b to
6917be4
Compare
lunika
reviewed
Feb 11, 2026
1c76bc9 to
6917be4
Compare
lunika
approved these changes
Feb 11, 2026
7b95a25 to
c6490cc
Compare
c6490cc to
a992572
Compare
For now, the reconciliation requests are imported through CSV in the Django admin, which sends confirmation email to both addresses. When both are checked, the actual reconciliation is processed, and all user-related content is updated.
Integrate the new pages for email validation into the user reconciliation flow. This includes creating components for active and inactive user reconciliations, validating email addresses, and add some tests to ensure the functionality works as expected.
Moved all doc related to user documentation in the same file. Fixed a copy-paste or merge error that affected other variables.
a992572 to
a130fcb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For now, the reconciliation requests are imported through CSV in the Django admin, which sends confirmation email to both addresses. When both are checked, the actual reconciliation is processed, and all user-related content is updated.
Purpose
Fix #1616 // Replaces #1708
For now, the reconciliation requests are imported through CSV in the Django admin, which sends confirmation email to both addresses. When both are checked, the actual reconciliation is processed, and all user-related content is updated.
Proposal
UserReconciliationCsvImportmodel to manage the import of reconciliation requests through a task (user_reconciliation_csv_import_job)UserReconciliationmodel to store the user reconciliation requests themselves (a row = aactive_user/inactive_userpair)process_reconciliationadmin action process the action on the requested entries, if both emails have been checked.DocumentAccessitems, while managing the case where both users have access to the document (keeping the higher role)LinkTraceitems, while managing the case where both users have link traces to the documentDocumentFavoriteitems, while managing the case where both users have put the document in their favoritesThread,CommentandReactionitems)is_activestatus on both usersUSER_RECONCILIATION_FORM_URLenv variable for the "make a new request" URL in an email.email_user()method onUser, replaced withsend_email()similar to the one on theDocumentmodelDemo page reconciliation success