mirror of
https://github.com/moodle/moodle.git
synced 2025-05-31 21:19:49 +02:00
MDL-81609 enrol: Set readonlysession for core_enrol_get_potential_users
This commit is contained in:
parent
792698af00
commit
78cf032d7c
@ -808,7 +808,8 @@ $functions = array(
|
|||||||
'description' => 'Get the list of potential users to enrol',
|
'description' => 'Get the list of potential users to enrol',
|
||||||
'ajax' => true,
|
'ajax' => true,
|
||||||
'type' => 'read',
|
'type' => 'read',
|
||||||
'capabilities' => 'moodle/course:enrolreview'
|
'capabilities' => 'moodle/course:enrolreview',
|
||||||
|
'readonlysession' => true,
|
||||||
),
|
),
|
||||||
'core_enrol_search_users' => [
|
'core_enrol_search_users' => [
|
||||||
'classname' => 'core_enrol_external',
|
'classname' => 'core_enrol_external',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user