Kaynağa Gözat

Portal administrators can also see students tracking from the course's users list

Yannick Warnier 8 yıl önce
ebeveyn
işleme
330cfdeec0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      main/user/user.php

+ 1 - 1
main/user/user.php

@@ -552,7 +552,7 @@ if (isset($origin) && $origin == 'learnpath') {
 }
 
 /*	Setting the permissions for this page */
-$is_allowed_to_track = ($is_courseAdmin || $is_courseTutor);
+$is_allowed_to_track = ($is_courseAdmin || $is_courseTutor) || api_is_platform_admin();
 
 // Tool introduction
 Display::display_introduction_section(TOOL_USER, 'left');