Skip to content

Commit 3e806c4

Browse files
Merge pull request #1266 from openedx/michaelroytman/COSMO-595-update-retirement-coverage-fix
Clear all ProctoredExamSoftwareSecureReviewHistory instances of PII
2 parents ebee8a3 + 1173d17 commit 3e806c4

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Change Log
1414
Unreleased
1515
~~~~~~~~~~
1616

17+
[5.1.1] - 2025-02-07
18+
~~~~~~~~~~~~~~~~~~~~
19+
* fixes bug in ordering of query to ensure all Software Secure history is cleared of PII via the retirement endpoint
20+
1721
[5.1.0] - 2025-02-03
1822
~~~~~~~~~~~~~~~~~~~~
1923
* add Software Secure review, history, and comment models to retirement endpoint

edx_proctoring/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"""
44

55
# Be sure to update the version number in edx_proctoring/package.json
6-
__version__ = '5.1.0'
6+
__version__ = '5.1.1'

edx_proctoring/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,8 +2275,6 @@ def _retire_proctored_exam_software_secure_review_and_history_and_comment(self,
22752275

22762276
# Retire reviews and review history.
22772277
reviews = ProctoredExamSoftwareSecureReview.objects.filter(attempt_code=attempt_code)
2278-
review_history = ProctoredExamSoftwareSecureReviewHistory.objects.filter(attempt_code=attempt_code)
2279-
22802278
for review in reviews:
22812279
review.encrypted_video_url = b''
22822280
review.raw_data = ''
@@ -2285,6 +2283,7 @@ def _retire_proctored_exam_software_secure_review_and_history_and_comment(self,
22852283
# and must save each review one-by-one.
22862284
review.save()
22872285

2286+
review_history = ProctoredExamSoftwareSecureReviewHistory.objects.filter(attempt_code=attempt_code)
22882287
for review in review_history:
22892288
review.encrypted_video_url = b''
22902289
review.raw_data = ''

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@edx/edx-proctoring",
33
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.",
4-
"version": "5.1.0",
4+
"version": "5.1.1",
55
"main": "edx_proctoring/static/index.js",
66
"scripts": {
77
"test": "gulp test"

0 commit comments

Comments
 (0)