MDL-33401 blocks: Allow managers to have block:edit capability by default
authorAnkit Agarwal <ankit@moodle.com>
Thu, 31 May 2012 02:42:43 +0000 (10:42 +0800)
committerAnkit Agarwal <ankit@moodle.com>
Tue, 5 Jun 2012 00:50:43 +0000 (08:50 +0800)
lib/db/access.php

index 76ebc66..173659e 100644 (file)
@@ -1679,6 +1679,7 @@ $capabilities = array(
         'contextlevel' => CONTEXT_BLOCK,
         'archetypes' => array(
             'editingteacher' => CAP_ALLOW,
+            'manager' => CAP_ALLOW
         )
     ),