Skip to content

chore: redact and delete retired manual verification records via data migration - #38922

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

chore: redact and delete retired manual verification records via data migration#38922
ktyagiapphelix2u wants to merge 3 commits into
openedx:masterfrom
ktyagiapphelix2u:ktyagi/migration

Conversation

@ktyagiapphelix2u

@ktyagiapphelix2u ktyagiapphelix2u commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

This migration cleans up historical manual verification records for users who have completed the retirement process.

When REDACT_MANUAL_VERIFICATION_HISTORICAL_PII is enabled, the migration:

  • Identifies ManualVerification records associated with retired users.
  • Redacts PII by clearing the stored name field.
  • Deletes the corresponding manual verification records to ensure retired user data is removed and to support downstream soft-delete cleanup workflows.

If the setting is disabled, the migration exits without making any changes.

Jira Private Ticket

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

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.

3 participants