MDL-67073 core_course: fix capability context

This commit is contained in:
Marina Glancy
2019-11-18 16:02:46 +08:00
committed by Jun Pataleta
parent 7e24491f2c
commit e2a0a42003
+1 -1
View File
@@ -1147,7 +1147,7 @@ $capabilities = array(
'moodle/course:viewsuspendedusers' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW