MDL-59815 access: Fix definition of risks for user:delete.
This commit is contained in:
committed by
Adrian Greeve
parent
5e7cb19d97
commit
b8dcc85f7c
+1
-1
@@ -500,7 +500,7 @@ $capabilities = array(
|
||||
|
||||
'moodle/user:delete' => array(
|
||||
|
||||
'riskbitmask' => RISK_PERSONAL, RISK_DATALOSS,
|
||||
'riskbitmask' => RISK_PERSONAL | RISK_DATALOSS,
|
||||
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2016120504.09; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2016120504.10; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user