diff --git a/cms/djangoapps/contentstore/config/waffle_utils.py b/cms/djangoapps/contentstore/config/waffle_utils.py index 33d2959dc7..eb107198ab 100644 --- a/cms/djangoapps/contentstore/config/waffle_utils.py +++ b/cms/djangoapps/contentstore/config/waffle_utils.py @@ -4,15 +4,13 @@ from cms.djangoapps.contentstore.config.waffle import waffle, ENABLE_CHECKLISTS_ from student.roles import GlobalStaff -def should_show_checklists_page(requesting_user): +def should_show_checklists_page(): """ Determine if the ENABLE_CHECKLISTS_PAGE waffle switch is set - and if the user is able to see it """ if waffle().is_enabled(ENABLE_CHECKLISTS_PAGE): - if GlobalStaff().has_user(requesting_user): - return True + return True return False diff --git a/cms/templates/course_outline.html b/cms/templates/course_outline.html index b5dfd0e219..e11936ecf6 100644 --- a/cms/templates/course_outline.html +++ b/cms/templates/course_outline.html @@ -180,7 +180,7 @@ from openedx.core.djangolib.markup import HTML, Text % endif
- % if should_show_checklists_page(request.user): + % if should_show_checklists_page():
<%static:studiofrontend entry="courseOutlineHealthCheck"> { diff --git a/cms/templates/widgets/header.html b/cms/templates/widgets/header.html index 94e695bb0f..8d2867d02c 100644 --- a/cms/templates/widgets/header.html +++ b/cms/templates/widgets/header.html @@ -127,7 +127,7 @@ ${_("Export to Git")} % endif - % if should_show_checklists_page(request.user): + % if should_show_checklists_page():