Re-resolve REVMI-34 to allow any access error to put a message in the courseware

This commit is contained in:
Calen Pennington
2019-05-03 14:44:15 -04:00
parent 8c0ad119ec
commit 7eeff8bf9a
2 changed files with 4 additions and 1 deletions

View File

@@ -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(

View File

@@ -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):