Return content type gate for staff users when masquerading as the Learner in...
Return content type gate for staff users when masquerading as the Learner in Audit or Learner in Limited Access Roles This is necessary to display the content type gate in the UI AA-613
Showing
- common/lib/xmodule/xmodule/seq_module.py 11 additions, 34 deletionscommon/lib/xmodule/xmodule/seq_module.py
- common/lib/xmodule/xmodule/tests/test_sequence.py 9 additions, 51 deletionscommon/lib/xmodule/xmodule/tests/test_sequence.py
- lms/djangoapps/courseware/tests/test_views.py 2 additions, 2 deletionslms/djangoapps/courseware/tests/test_views.py
- openedx/core/djangoapps/courseware_api/views.py 7 additions, 0 deletionsopenedx/core/djangoapps/courseware_api/views.py
- openedx/features/content_type_gating/services.py 46 additions, 2 deletionsopenedx/features/content_type_gating/services.py
- openedx/features/content_type_gating/tests/test_access.py 42 additions, 2 deletionsopenedx/features/content_type_gating/tests/test_access.py
Loading
Please register or sign in to comment