Merge branch 'wip-mdl-31969' of git://github.com/rajeshtaneja/moodle
[moodle.git] / lib / db / access.php
index d5fa85f..9659b46 100644 (file)
@@ -1040,6 +1040,16 @@ $capabilities = array(
         )
     ),
 
+    'moodle/course:viewsuspendedusers' => array(
+
+        'captype' => 'read',
+        'contextlevel' => CONTEXT_SYSTEM,
+        'archetypes' => array(
+            'editingteacher' => CAP_ALLOW,
+            'manager' => CAP_ALLOW
+        )
+    ),
+
     'moodle/blog:view' => array(
 
         'captype' => 'read',