feat: Deny course staff visibility of legacy courseware. (#27469)
Currently, course staff can always view their courses in the Legacy courseware experience. With this change, course staff will *not* be able to view their courses if the New (MFE) courseware experience has been enabled for them. This does not affect global staff, and it does not affect courses that are still running in the Legacy experience. Adds a new parameter returned by the course metadata API used by the courseware MFE to determine if the button to show legacy experience should be displayed or not. TNL-8203
Showing
- lms/djangoapps/courseware/tests/test_views.py 3 additions, 3 deletionslms/djangoapps/courseware/tests/test_views.py
- lms/djangoapps/courseware/toggles.py 0 additions, 4 deletionslms/djangoapps/courseware/toggles.py
- lms/djangoapps/courseware/views/index.py 0 additions, 1 deletionlms/djangoapps/courseware/views/index.py
- openedx/core/djangoapps/courseware_api/serializers.py 1 addition, 0 deletionsopenedx/core/djangoapps/courseware_api/serializers.py
- openedx/core/djangoapps/courseware_api/views.py 10 additions, 1 deletionopenedx/core/djangoapps/courseware_api/views.py
Loading
Please register or sign in to comment