Re-resolve REVMI-34 to allow any access error to put a message in the courseware
This commit is contained in:
@@ -653,7 +653,8 @@ def get_module_system_for_user(
|
||||
static_asset_path=static_asset_path,
|
||||
user_location=user_location,
|
||||
request_token=request_token,
|
||||
course=course
|
||||
course=course,
|
||||
will_recheck_access=will_recheck_access,
|
||||
)
|
||||
|
||||
module.descriptor.bind_for_student(
|
||||
|
||||
@@ -362,6 +362,7 @@ class CoursewareIndex(View):
|
||||
self.field_data_cache,
|
||||
self.course_key,
|
||||
course=self.course,
|
||||
will_recheck_access=True,
|
||||
)
|
||||
|
||||
def _prefetch_and_bind_section(self):
|
||||
@@ -382,6 +383,7 @@ class CoursewareIndex(View):
|
||||
self.course_key,
|
||||
self.position,
|
||||
course=self.course,
|
||||
will_recheck_access=True
|
||||
)
|
||||
|
||||
def _save_positions(self):
|
||||
|
||||
Reference in New Issue
Block a user