]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10911, setting tag:create and tag:edit to allow for user role and admin role
authortoyomoyo <toyomoyo>
Fri, 24 Aug 2007 05:39:37 +0000 (05:39 +0000)
committertoyomoyo <toyomoyo>
Fri, 24 Aug 2007 05:39:37 +0000 (05:39 +0000)
lib/db/access.php
version.php

index 93bb8db45d43192a8b2a5eff5a5067ec90120a1c..bd22cdf7edc40ed08b99929f11b766ba532eb972 100644 (file)
@@ -1120,9 +1120,6 @@ $moodle_capabilities = array(
         'captype' => 'write',
         'contextlevel' => CONTEXT_SYSTEM,
         'legacy' => array(
-            'student' => CAP_ALLOW,
-            'teacher' => CAP_ALLOW,
-            'editingteacher' => CAP_ALLOW,
             'admin' => CAP_ALLOW,
             'user' => CAP_ALLOW
         )
@@ -1132,9 +1129,8 @@ $moodle_capabilities = array(
         'captype' => 'write',
         'contextlevel' => CONTEXT_SYSTEM,
         'legacy' => array(
-            'teacher' => CAP_ALLOW,
-            'editingteacher' => CAP_ALLOW,
-            'admin' => CAP_ALLOW
+            'admin' => CAP_ALLOW,
+            'user' => CAP_ALLOW
         )
     ),
     
index 92c27dc96c534188bda4c9a5784463ff4c27db93..6b7289056719add8d66768267cc6e36319a06da4 100644 (file)
@@ -6,7 +6,7 @@
 // This is compared against the values stored in the database to determine
 // whether upgrades should be performed (see lib/db/*.php)
 
-    $version = 2007082300;  // YYYYMMDD = date
+    $version = 2007082400;  // YYYYMMDD = date
                             //       XY = increments within a single day
 
     $release = '1.9 Beta +';   // Human-friendly version name