Skip to content

Commit

Permalink
Merge branch 's11_MDL-27976_get_users_by_courseid_master' of github.c…
Browse files Browse the repository at this point in the history
…om:dongsheng/moodle
  • Loading branch information
stronk7 committed Jun 29, 2011
2 parents 9cdff2b + 0147929 commit 3a4c390
Show file tree
Hide file tree
Showing 4 changed files with 473 additions and 362 deletions.
10 changes: 10 additions & 0 deletions lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@
'capabilities'=> 'moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update',
),

'moodle_user_get_users_by_courseid' => array(
'classname' => 'moodle_user_external',
'methodname' => 'get_users_by_courseid',
'classpath' => 'user/externallib.php',
'description' => 'Get enrolled users by course id.',
'type' => 'read',
'capabilities'=> 'moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update, moodle/site:accessallgroups',
),

'moodle_user_get_course_participants_by_id' => array(
'classname' => 'moodle_user_external',
'methodname' => 'get_course_participants_by_id',
Expand Down Expand Up @@ -258,6 +267,7 @@
'moodle_webservice_get_siteinfo',
'moodle_notes_create_notes',
'moodle_user_get_course_participants_by_id',
'moodle_user_get_users_by_courseid',
'moodle_message_send_messages'),
'enabled' => 0,
'restrictedusers' => 0,
Expand Down
Loading

0 comments on commit 3a4c390

Please sign in to comment.