Skip to content

fix: align retirement PII annotations with current runtime behavior - #392

Merged
ktyagiapphelix2u merged 1 commit into
release-ulmofrom
ktyagi/BOMS-607-2
Jul 17, 2026
Merged

fix: align retirement PII annotations with current runtime behavior#392
ktyagiapphelix2u merged 1 commit into
release-ulmofrom
ktyagi/BOMS-607-2

Conversation

@ktyagiapphelix2u

Copy link
Copy Markdown

Summary

Updates pii_retirement annotations to match the current retirement implementation.

Changes

  1. changed verify_student verification annotations from retained to local_api where retirement already redacts or deletes data
  2. changed survey answer annotation from retained to local_api

Notes

  1. left certificate history as retained because runtime still retains it by default

Reference Ticket & Confluence Page

fix: align retirement PII annotations with current runtime behavior
Copilot AI review requested due to automatic review settings July 17, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates PII retirement annotations on select LMS models so the code-annotation report reflects how user retirement is currently handled in runtime for those data stores.

Changes:

  • Updated verify_student model docstring annotations to mark certain verification PII as retired via local_api.
  • Updated SurveyAnswer PII retirement annotation from retained to local_api.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lms/djangoapps/verify_student/models.py Adjusts .. pii_retirement annotations for verification-related models to better match retirement behavior.
lms/djangoapps/survey/models.py Marks survey answer data as retired via local retirement API (model-level retirement method).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lms/djangoapps/verify_student/models.py
@ktyagiapphelix2u
ktyagiapphelix2u merged commit 39eb768 into release-ulmo Jul 17, 2026
65 checks passed
@ktyagiapphelix2u
ktyagiapphelix2u deleted the ktyagi/BOMS-607-2 branch July 17, 2026 14:57
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.

4 participants