Added some default roles that should have moodle/grade:viewhidden
related to MDL-11580
This commit is contained in:
@@ -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'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user