mirror of
https://github.com/moodle/moodle.git
synced 2025-05-15 20:58:15 +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',
|
||||
'ajax' => true,
|
||||
'type' => 'read',
|
||||
'capabilities' => 'moodle/course:enrolreview'
|
||||
'capabilities' => 'moodle/course:enrolreview',
|
||||
'readonlysession' => true,
|
||||
),
|
||||
'core_enrol_search_users' => [
|
||||
'classname' => 'core_enrol_external',
|
||||
|
Loading…
x
Reference in New Issue
Block a user