diff --git a/lib/db/access.php b/lib/db/access.php index bc24d73d71e53..47a66373dcc75 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -1150,7 +1150,7 @@ 'moodle/course:viewsuspendedusers' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW