diff --git a/src/proctored-exam-settings/ProctoredExamSettings.jsx b/src/proctored-exam-settings/ProctoredExamSettings.jsx
index fc4bfa809..010b45692 100644
--- a/src/proctored-exam-settings/ProctoredExamSettings.jsx
+++ b/src/proctored-exam-settings/ProctoredExamSettings.jsx
@@ -28,6 +28,7 @@ function ExamSettings(props) {
const [saveError, setSaveError] = useState(false);
const [submissionInProgress, setSubmissionInProgress] = useState(false);
const [showProctortrackEscalationEmail, setShowProctortrackEscalationEmail] = useState(false);
+ const isEdxStaff = getAuthenticatedUser().administrator;
function onEnableProctoredExamsChange(event) {
setEnableProctoredExams(event.target.checked);
@@ -96,10 +97,8 @@ function ExamSettings(props) {
const currentDate = moment(moment()).format('YYYY-MM-DD[T]hh:mm:ss[Z]');
const isAfterCourseStart = currentDate > courseStartDate;
- const isAdmin = getAuthenticatedUser().administrator;
-
- // if the user is not an administrator and it is after the course start date, user cannot edit proctoring provider
- return !isAdmin && isAfterCourseStart;
+ // if the user is not edX staff and it is after the course start date, user cannot edit proctoring provider
+ return !isEdxStaff && isAfterCourseStart;
}
function isDisabledOption(provider) {
@@ -154,34 +153,38 @@ function ExamSettings(props) {
{/* ALLOW OPTING OUT OF PROCTORED EXAMS */}
-