MDL-49498 user: Add core_user_view_user_list to the mobile service

This commit is contained in:
Juan Leyva 2015-03-30 12:06:38 +02:00
parent 214102d09e
commit 7a334a9b7a
2 changed files with 11 additions and 1 deletions

View File

@ -513,6 +513,15 @@ $functions = array(
'capabilities' => '',
),
'core_user_view_user_list' => array(
'classname' => 'core_user_external',
'methodname' => 'view_user_list',
'classpath' => 'user/externallib.php',
'description' => 'Simulates the web-interface view of user/index.php (triggering events).',
'type' => 'write',
'capabilities' => 'moodle/course:viewparticipants',
),
// === enrol related functions ===
'core_enrol_get_enrolled_users_with_capability' => array(
@ -1068,6 +1077,7 @@ $services = array(
'core_course_view_course',
'core_completion_get_activities_completion_status',
'core_notes_get_course_notes',
'core_user_view_user_list',
),
'enabled' => 0,
'restrictedusers' => 0,

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015040200.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2015040200.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.