mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-53566 core: Move managecontextlocking to module
This will allow the capability to be applied at a range of contexts and not just the system, making the system much more definable to a range of users.
This commit is contained in:
parent
56db1a2d7c
commit
6a89b6c8f0
@ -411,7 +411,7 @@ $string['site:maintenanceaccess'] = 'Access site while in maintenance mode';
|
||||
$string['site:manageallmessaging'] = 'Add, remove, block and unblock contacts for any user';
|
||||
$string['site:manageblocks'] = 'Manage blocks on a page';
|
||||
$string['site:messageanyuser'] = 'Bypass user privacy preferences for messaging any user';
|
||||
$string['site:managecontextlocks'] = 'Manage locking of site contexts';
|
||||
$string['site:managecontextlocks'] = 'Manage locking of contexts';
|
||||
$string['site:mnetloginfromremote'] = 'Login from a remote application via MNet';
|
||||
$string['site:mnetlogintoremote'] = 'Roam to a remote application via MNet';
|
||||
$string['site:readallmessages'] = 'Read all messages on site';
|
||||
|
@ -2435,7 +2435,7 @@ $capabilities = array(
|
||||
// Context locking/unlocking.
|
||||
'moodle/site:managecontextlocks' => [
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
'archetypes' => [
|
||||
],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user