From 93f4ceeee792f6e3f562d0806309038f4eef8e2b Mon Sep 17 00:00:00 2001 From: Saad Yousaf Date: Tue, 19 Jan 2021 20:01:03 +0500 Subject: [PATCH] Revert "[TNL-7361] - Restrict Instructor Tab from masquerading user with student role." --- .../courseware/course_navigation.html | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/lms/templates/courseware/course_navigation.html b/lms/templates/courseware/course_navigation.html index b0fa4e4307..16257629c7 100644 --- a/lms/templates/courseware/course_navigation.html +++ b/lms/templates/courseware/course_navigation.html @@ -44,23 +44,19 @@ if course is not None: <% tab_is_active = tab.tab_id in (active_page, default_tab) %> - % if masquerade is not None and masquerade.role == 'student' and tab.name == 'Instructor': - <% continue %> - % else: - - %endif + % endfor