mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'w17_MDL-26249_m21_usercourses' of git://github.com/skodak/moodle
This commit is contained in:
commit
b90b28e2cb
2 changed files with 78 additions and 0 deletions
|
@ -159,6 +159,15 @@ $functions = array(
|
|||
moodle/role:review, moodle/site:accessallgroups, moodle/course:enrolreview',
|
||||
),
|
||||
|
||||
'moodle_enrol_get_users_courses' => array(
|
||||
'classname' => 'moodle_enrol_external',
|
||||
'methodname' => 'get_users_courses',
|
||||
'classpath' => 'enrol/externallib.php',
|
||||
'description' => 'Get list of courses user is enrolled in',
|
||||
'type' => 'read',
|
||||
'capabilities'=> 'moodle/course:viewparticipants',
|
||||
),
|
||||
|
||||
'moodle_role_assign' => array(
|
||||
'classname' => 'moodle_enrol_external',
|
||||
'methodname' => 'role_assign',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue