Added permission to get the AJAX classes list for the teacher - fixes #5514

skala
Yannick Warnier 13 years ago
parent ebfd778ae3
commit 7b060d11a0
  1. 3
      main/inc/ajax/model.ajax.php

@ -26,7 +26,8 @@ if (!in_array($action, array(
'get_hotpotatoes_exercise_results',
'get_work_user_list',
'get_timelines',
'get_user_skill_ranking'))
'get_user_skill_ranking',
'get_usergroups_teacher'))
) {
api_protect_admin_script(true);
}

Loading…
Cancel
Save