mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-55791 admin: maintenance mode access capability
Add capability to allow certain non-admin users through maintenance mode.
This commit is contained in:
parent
0344082208
commit
59c66f926f
7 changed files with 22 additions and 13 deletions
|
@ -2292,5 +2292,11 @@ $capabilities = array(
|
|||
'manager' => CAP_ALLOW
|
||||
),
|
||||
),
|
||||
'moodle/site:maintenanceaccess' => array(
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
'archetypes' => array(
|
||||
)
|
||||
),
|
||||
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue