From: toyomoyo Date: Fri, 24 Aug 2007 05:39:37 +0000 (+0000) Subject: MDL-10911, setting tag:create and tag:edit to allow for user role and admin role X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3e6e529fa4674731694917172be9ff0703996b7f;p=moodle.git MDL-10911, setting tag:create and tag:edit to allow for user role and admin role --- diff --git a/lib/db/access.php b/lib/db/access.php index 93bb8db45d..bd22cdf7ed 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -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 ) ), diff --git a/version.php b/version.php index 92c27dc96c..6b72890567 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 = 2007082300; // YYYYMMDD = date + $version = 2007082400; // YYYYMMDD = date // XY = increments within a single day $release = '1.9 Beta +'; // Human-friendly version name