mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Added some default roles that should have moodle/grade:viewhidden
related to MDL-11580
This commit is contained in:
parent
3126103b74
commit
0371f8e52f
@ -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'
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user