diff --git a/lib/db/access.php b/lib/db/access.php index dcbf5038f33..452f957be3d 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -1535,6 +1535,9 @@ $capabilities = array( 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'legacy' => array( + 'student' => CAP_ALLOW, + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, 'admin' => CAP_ALLOW ) ), @@ -1544,6 +1547,8 @@ $capabilities = array( 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'legacy' => array( + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, 'admin' => CAP_ALLOW ) ), @@ -1553,6 +1558,8 @@ $capabilities = array( 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'legacy' => array( + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, 'admin' => CAP_ALLOW ) )