]> git.mjollnir.org Git - moodle.git/commitdiff
setting default value for backup/restore capabilities for teacheredit and coursecreators
authortoyomoyo <toyomoyo>
Tue, 10 Oct 2006 02:52:08 +0000 (02:52 +0000)
committertoyomoyo <toyomoyo>
Tue, 10 Oct 2006 02:52:08 +0000 (02:52 +0000)
lib/db/access.php

index 70acaf05fe42b98d5f21dc9f03334413c3223629..264db4545153fc4e9adddbb28a0d8d8cbfd241b7 100644 (file)
@@ -150,8 +150,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
         )
     ),
@@ -166,8 +166,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
         )
     ),