fix: deny proctored exam access to audit and honor enrollment tracks (#831)

We need to allow both Timed exams and non-exam types content to be rendered

Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
This commit is contained in:
Simon Chen
2022-02-17 16:10:32 -05:00
committed by GitHub
parent 93baa10141
commit 947e5e3cb2
4 changed files with 6 additions and 4 deletions

View File

@@ -137,6 +137,7 @@ function normalizeMetadata(metadata) {
isIntegritySignatureEnabled: data.is_integrity_signature_enabled,
userNeedsIntegritySignature: data.user_needs_integrity_signature,
isMasquerading: data.original_user_is_staff && !data.is_staff,
canAccessProctoredExams: data.can_access_proctored_exams,
};
}