mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-49499-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
522eff0d30
7 changed files with 189 additions and 21 deletions
|
@ -512,6 +512,15 @@ $functions = array(
|
|||
'capabilities' => 'moodle/course:viewparticipants',
|
||||
),
|
||||
|
||||
'core_user_view_user_profile' => array(
|
||||
'classname' => 'core_user_external',
|
||||
'methodname' => 'view_user_profile',
|
||||
'classpath' => 'user/externallib.php',
|
||||
'description' => 'Simulates the web-interface view of user/view.php and user/profile.php (triggering events).',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'moodle/user:viewdetails',
|
||||
),
|
||||
|
||||
// === enrol related functions ===
|
||||
|
||||
'core_enrol_get_enrolled_users_with_capability' => array(
|
||||
|
@ -1106,6 +1115,7 @@ $services = array(
|
|||
'core_message_mark_message_read',
|
||||
'core_notes_view_notes',
|
||||
'mod_forum_view_forum_discussion',
|
||||
'core_user_view_user_profile',
|
||||
),
|
||||
'enabled' => 0,
|
||||
'restrictedusers' => 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue