Reason: Before this fix, if the user is not staff (user.is_staff=0) and ENABLE_SYSADMIN_DASHBOARD=True happens that the user can access the Git Import in Sysadmin dashboard and get to see the links in the menu of the sysadmin dashboard (Users, Courses, Staffing and enrollment). When this user clicks on one of these links, it gets an error from the server.
LMS (Learning Management System) -------------------------------- This directory contains code relating to the student portal for edX.