Skip to content

feat: add management command for one-time cleanup of retired users - #38922

Merged
robrap merged 8 commits into
openedx:masterfrom
ktyagiapphelix2u:ktyagi/migration
Aug 28, 2026
Merged

feat: add management command for one-time cleanup of retired users#38922
robrap merged 8 commits into
openedx:masterfrom
ktyagiapphelix2u:ktyagi/migration

Conversation

@ktyagiapphelix2u

@ktyagiapphelix2u ktyagiapphelix2u commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a one-time management command, cleanup_retired_manual_verifications, to clear PII and delete ManualVerification records for retired users. The command supports a --dry-run mode and only executes when REDACT_MANUAL_VERIFICATION_HISTORICAL_PII is enabled.

Jira Private Ticket

https://2u-internal.atlassian.net/browse/BOMS-708

@ktyagiapphelix2u ktyagiapphelix2u changed the title chore: redact and delete retired manual verification records via data migration feat: add management command for one-time cleanup of retired users Aug 4, 2026
@robrap
robrap merged commit 3e755c3 into openedx:master Aug 28, 2026
43 checks passed
@robrap

robrap commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

@ktyagiapphelix2u: Reminder to move anything additional and relevant from the ticket to this PR description. At a minimum, add a link to the other PR that this relates to, and describe the relationship. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants