Merge branch 'MDL-56501-master' of git://github.com/lameze/moodle

This commit is contained in:
Andrew Nicols 2016-10-31 14:10:37 +08:00
commit 0b03040605
6 changed files with 92 additions and 8 deletions

View file

@ -77,6 +77,17 @@ $capabilities = array(
)
),
'moodle/site:manageallmessaging' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
)
),
'moodle/site:deleteanymessage' => array(
'riskbitmask' => RISK_DATALOSS,