Disable view of Git Import when user is professor of course but not staff user
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.
Showing
Please
register
or
sign in
to comment