MDL-23437 backup - move restore:restoreactivity cap from module to course context

This commit is contained in:
Eloy Lafuente
2010-09-05 16:58:30 +00:00
parent f12768798b
commit 7efd488e76
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ $capabilities = array(
'riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW