Permalink
Browse files

Merge branch 's11_MDL-27880_get_course_participants_ws' of git://gith…

…ub.com/dongsheng/moodle
  • Loading branch information...
2 parents 8e30705 + ea4e96c commit fe70d8814b5e937e6c02e00cdae44a1db4197436 Sam Hemelryk committed Jun 20, 2011
Showing with 510 additions and 184 deletions.
  1. +10 −0 lib/db/services.php
  2. +499 −183 user/externallib.php
  3. +1 −1 version.php
View
@@ -129,6 +129,15 @@
'capabilities'=> 'moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update',
),
+ 'moodle_user_get_course_participants_by_id' => array(
+ 'classname' => 'moodle_user_external',
+ 'methodname' => 'get_course_participants_by_id',
+ 'classpath' => 'user/externallib.php',
+ 'description' => 'Get course user profiles by id.',
+ 'type' => 'read',
+ 'capabilities'=> 'moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update, moodle/site:accessallgroups',
+ ),
+
'moodle_user_delete_users' => array(
'classname' => 'moodle_user_external',
'methodname' => 'delete_users',
@@ -248,6 +257,7 @@
'moodle_user_get_users_by_id',
'moodle_webservice_get_siteinfo',
'moodle_notes_create_notes',
+ 'moodle_user_get_course_participants_by_id',
'moodle_message_send_messages'),
'enabled' => 0,
'restrictedusers' => 0,
Oops, something went wrong. Retry.

0 comments on commit fe70d88

Please sign in to comment.