]> git.mjollnir.org Git - moodle.git/commitdiff
merged fix for MDL-8885, editting teacher should be able to read all messages in...
authortoyomoyo <toyomoyo>
Wed, 14 Mar 2007 01:37:07 +0000 (01:37 +0000)
committertoyomoyo <toyomoyo>
Wed, 14 Mar 2007 01:37:07 +0000 (01:37 +0000)
lib/db/access.php

index c0893772b27394643457c2be864b11168258a169..706d47119272d6dc0ad9698e86a142462f78d125 100644 (file)
@@ -116,7 +116,8 @@ $moodle_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_SYSTEM,
         'legacy' => array(
-            'admin' => CAP_ALLOW
+            'admin' => CAP_ALLOW,
+            'editingteacher' => CAP_ALLOW
         )
     ),