NOBUG: moodle/blog:manageexternal is SYSTEM cap, not USER at all
authorEloy Lafuente <stronk7@moodle.org>
Fri, 19 Nov 2010 18:25:27 +0000 (18:25 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Fri, 19 Nov 2010 18:25:27 +0000 (18:25 +0000)
lib/db/access.php
version.php

index b2a045e..38729ea 100644 (file)
@@ -1067,7 +1067,7 @@ $capabilities = array(
         'riskbitmask' => RISK_SPAM,
 
         'captype' => 'write',
-        'contextlevel' => CONTEXT_USER,
+        'contextlevel' => CONTEXT_SYSTEM,
         'archetypes' => array(
             'student' => CAP_ALLOW,
             'user' => CAP_ALLOW,
index f483be6..0b0729d 100644 (file)
@@ -29,7 +29,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$version = 2010111702;  // YYYYMMDD   = date of the last version bump
+$version = 2010111703;  // YYYYMMDD   = date of the last version bump
                         //         XX = daily increments
 
 $release = '2.0 RC2 (Build: 20101119)';  // Human-friendly version name