This commit is contained in:
Andrew Nicols 2024-05-29 10:50:42 +08:00
commit f445245b9e
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -808,7 +808,8 @@ $functions = array(
'description' => 'Get the list of potential users to enrol',
'ajax' => true,
'type' => 'read',
'capabilities' => 'moodle/course:enrolreview'
'capabilities' => 'moodle/course:enrolreview',
'readonlysession' => true,
),
'core_enrol_search_users' => [
'classname' => 'core_enrol_external',