Added some default roles that should have moodle/grade:viewhidden

related to MDL-11580
This commit is contained in:
moodler 2007-10-04 15:45:37 +00:00
parent 3126103b74
commit 0371f8e52f

View File

@ -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'
),