]> git.mjollnir.org Git - moodle.git/commitdiff
Changing defaults for role assigning (teachers, coursecreators allowed)
authormoodler <moodler>
Thu, 21 Sep 2006 16:02:39 +0000 (16:02 +0000)
committermoodler <moodler>
Thu, 21 Sep 2006 16:02:39 +0000 (16:02 +0000)
lib/db/access.php

index 43d210a4e8a9cb0e131840256879a5a0c03e592e..2d78126e6418720ba2141493accdcc2754d47d33 100644 (file)
@@ -346,8 +346,8 @@ $moodle_capabilities = array(
             'guest' => CAP_PREVENT,
             'student' => CAP_PREVENT,
             'teacher' => CAP_PREVENT,
-            'editingteacher' => CAP_PREVENT,
-            'coursecreator' => CAP_PREVENT,
+            'editingteacher' => CAP_ALLOW,
+            'coursecreator' => CAP_ALLOW,
             'admin' => CAP_ALLOW
         )
     ),