MDL-67073 core_course: fix capability context
This commit is contained in:
committed by
Jun Pataleta
parent
7e24491f2c
commit
e2a0a42003
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user