From: toyomoyo Date: Tue, 10 Oct 2006 02:52:08 +0000 (+0000) Subject: setting default value for backup/restore capabilities for teacheredit and coursecreators X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7246585a705ee0ac5370e7b5c4ee3b8fea924d9f;p=moodle.git setting default value for backup/restore capabilities for teacheredit and coursecreators --- diff --git a/lib/db/access.php b/lib/db/access.php index 70acaf05fe..264db45451 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -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 ) ),