mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-56501 message: introduce new manageallmessaging capability
This commit is contained in:
parent
4e5d96ee3a
commit
343ba16c31
6 changed files with 92 additions and 8 deletions
|
@ -9,7 +9,7 @@ $confirm = optional_param('confirm', 0, PARAM_BOOL);
|
|||
|
||||
require_login();
|
||||
admin_externalpage_setup('userbulk');
|
||||
require_capability('moodle/site:readallmessages', context_system::instance());
|
||||
require_capability('moodle/site:manageallmessaging', context_system::instance());
|
||||
|
||||
$return = $CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk.php';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue