Allow platform's student to see courselog of courses they are admin

1.9.x
baelmyhu 11 years ago
parent fa1052c27a
commit 977e5dae4b
  1. 2
      main/tracking/courseLog.php

@ -37,7 +37,7 @@ if ($from == 'myspace') {
}
// Access restrictions.
$is_allowedToTrack = api_is_platform_admin() || api_is_allowed_to_create_course() || api_is_session_admin() || api_is_drh() || api_is_course_tutor();
$is_allowedToTrack = api_is_platform_admin() || api_is_allowed_to_create_course() || api_is_session_admin() || api_is_drh() || api_is_course_tutor() || api_is_course_admin();
if (!$is_allowedToTrack) {
api_not_allowed(true);

Loading…
Cancel
Save