mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-49498 user: Add core_user_view_user_list to the mobile service
This commit is contained in:
parent
214102d09e
commit
7a334a9b7a
@ -513,6 +513,15 @@ $functions = array(
|
|||||||
'capabilities' => '',
|
'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 ===
|
// === enrol related functions ===
|
||||||
|
|
||||||
'core_enrol_get_enrolled_users_with_capability' => array(
|
'core_enrol_get_enrolled_users_with_capability' => array(
|
||||||
@ -1068,6 +1077,7 @@ $services = array(
|
|||||||
'core_course_view_course',
|
'core_course_view_course',
|
||||||
'core_completion_get_activities_completion_status',
|
'core_completion_get_activities_completion_status',
|
||||||
'core_notes_get_course_notes',
|
'core_notes_get_course_notes',
|
||||||
|
'core_user_view_user_list',
|
||||||
),
|
),
|
||||||
'enabled' => 0,
|
'enabled' => 0,
|
||||||
'restrictedusers' => 0,
|
'restrictedusers' => 0,
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
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.
|
// RR = release increments - 00 in DEV branches.
|
||||||
// .XX = incremental changes.
|
// .XX = incremental changes.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user