MDL-66269 enrol: A new webservice to search course participants
Part of MDL-66075.
This commit is contained in:
committed by
Simey Lameze
parent
151ef39cd8
commit
0f308fcda7
@@ -634,6 +634,15 @@ $functions = array(
|
||||
'type' => 'read',
|
||||
'capabilities' => 'moodle/course:enrolreview'
|
||||
),
|
||||
'core_enrol_search_users' => [
|
||||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'search_users',
|
||||
'classpath' => 'enrol/externallib.php',
|
||||
'description' => 'Search within the list of course participants',
|
||||
'ajax' => true,
|
||||
'type' => 'read',
|
||||
'capabilities' => 'moodle/course:viewparticipants',
|
||||
],
|
||||
'core_enrol_get_users_courses' => array(
|
||||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'get_users_courses',
|
||||
|
||||
Reference in New Issue
Block a user