Files
edx-platform/lms/djangoapps/courseware
Kyle McCormick 1f392bdc3e fix: render_xblock was denying access to staff masquerading as learners (#27017)
The render_xblock view, which powers the Learning
MFE (among other things) returned a 404 when un-
enrolled course staff users tried to load it while
masquerading as learners. This was because we
checked course access after enabling the
masquerading context, which triggered a redirect-
to-enrollment exception.

The fix is simply to enable the masquerading
context after checking course access.
Content-level behavior and access is still
calculated within the masquerading context,
as intended.

TNL-7989
2021-03-15 16:50:33 -04:00
..
2019-12-30 10:35:30 -05:00
2019-12-30 12:25:38 -05:00
2020-01-30 16:36:02 +05:00
2021-03-12 15:32:05 -05:00
2021-02-03 21:56:24 +05:00

Status: Active Development

Responsibilities
================
The courseware djangoapp is responsible for presenting course content to learners.

Glossary
========

More Documentation
==================
`Architectural Decision Records
<https://github.com/edx/edx-platform/tree/master/lms/djangoapps/courseware/docs/decisions>`_