Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lms/djangoapps/instructor/views/api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
ProctoredExamNotFoundException,
)
from edx_proctoring.models import ProctoredExamStudentAllowance
from edx_rest_framework_extensions.auth.jwt.authentication import JwtAuthentication
from edx_rest_framework_extensions.paginators import DefaultPagination
from edx_when import api as edx_when_api
from opaque_keys import InvalidKeyError
Expand Down Expand Up @@ -4187,6 +4188,7 @@ class SpecialExamResetView(DeveloperErrorViewMixin, APIView):
POST /api/instructor/v2/courses/{course_id}/special_exams/{exam_id}/reset/{username}
"""

authentication_classes = (JwtAuthentication,)
permission_classes = (IsAuthenticated, permissions.InstructorPermission)
permission_name = permissions.EXAM_RESULTS

Expand Down
Loading