From: skodak Date: Sun, 17 Sep 2006 21:03:35 +0000 (+0000) Subject: added new capability 'moodle/course:managemetacourses' X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4b7aaf4025ef1f7a0d4bbffd8265fd9f210da092;p=moodle.git added new capability 'moodle/course:managemetacourses' --- diff --git a/lib/db/access.php b/lib/db/access.php index bc45a2307b..6975043f94 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -562,6 +562,20 @@ $moodle_capabilities = array( ) ), + 'moodle/course:managemetacourses' => array( + + 'captype' => 'write', + 'contextlevel' => CONTEXT_COURSE, + 'legacy' => array( + 'guest' => CAP_PREVENT, + 'student' => CAP_PREVENT, + 'teacher' => CAP_PREVENT, + 'editingteacher' => CAP_ALLOW, + 'coursecreator' => CAP_ALLOW, + 'admin' => CAP_ALLOW + ) + ), + 'moodle/course:activityvisibility' => array( 'captype' => 'write', diff --git a/version.php b/version.php index f01423f670..3797ebc688 100644 --- a/version.php +++ b/version.php @@ -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 = 2006091701; // YYYYMMDD = date + $version = 2006091702; // YYYYMMDD = date // XY = increments within a single day $release = '1.7 dev'; // Human-friendly version name