From: moodler Date: Thu, 4 Oct 2007 15:45:37 +0000 (+0000) Subject: Added some default roles that should have moodle/grade:viewhidden X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0371f8e52fff34e1db50ccd597210e994b2c5368;p=moodle.git Added some default roles that should have moodle/grade:viewhidden related to MDL-11580 --- diff --git a/lib/db/access.php b/lib/db/access.php index 870d2e82de..df7ec364c1 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -1002,6 +1002,9 @@ $moodle_capabilities = array( 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, // and CONTEXT_PERSONAL too 'legacy' => array( + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, + 'admin' => CAP_ALLOW ), 'clonepermissionsfrom' => 'moodle/course:viewcoursegrades' ),