Skip to content

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

Open
ktyagiapphelix2u wants to merge 7 commits into
openedx:masterfrom
ktyagiapphelix2u:ktyagi/migration
Open

feat: add management command for one-time cleanup of retired users#38922
ktyagiapphelix2u wants to merge 7 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
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.

5 participants