-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: exam content will not be viewable if due date has passed #872
Conversation
3db2805
to
0e3a9ba
Compare
062502c
to
1893064
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
edx_proctoring/api.py
Outdated
attempt['is_status_acknowledged'], | ||
exam | ||
) else 'proctored_exam/submitted.html' | ||
) and getattr(settings, 'PROCTORED_EXAM_VIEWABLE_PAST_DUE', False)) else 'proctored_exam/submitted.html' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#NIT Can we please assign this variable to a variable in the constant.py? This is slightly more difficult to read?
Maybe you just need to re-run build? The build error doesn't look like it's code related. |
da3e1e2
to
dc2ec57
Compare
Previously, if a learner had submitted their proctored exam and if the exam due date had passed, they were able to acknowledge their status and view the exam content. This is no longer wanted and poses an integrity threat. Students will not be able to acknowledge their status after this change, and exam content will only be viewable if the django setting PROCTORED_EXAM_VIEWABLE_PAST_DUE is set to True.
dc2ec57
to
6ef85e5
Compare
@schenedx I believe that codecov is experiencing issues right now (see codecov/codecov-action#330), so I've temporarily disabled the setting |
@alangsto Got it. That's sad. Disable it temporally make sense. |
MST-846
Previously, if a learner had submitted their proctored exam and if the exam due date had passed, they were able to acknowledge their status and view the exam content. This is no longer wanted and poses an integrity threat. Students will not be able to acknowledge their status after this change, and exam content will only be viewable if the django setting PROCTORED_EXAM_VIEWABLE_PAST_DUE is set to True.
Pre-Merge Checklist:
edx_proctoring/__init__.py
andpackage.json
if these changes are to be released.CHANGELOG.rst
Post-Merge: