diff --git a/db/access.php b/db/access.php index 1ad8056..1e27a6e 100644 --- a/db/access.php +++ b/db/access.php @@ -40,7 +40,8 @@ $capabilities = array( 'archetypes' => array( 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -52,7 +53,8 @@ $capabilities = array( 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -64,7 +66,8 @@ $capabilities = array( 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -76,7 +79,8 @@ $capabilities = array( 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -87,7 +91,8 @@ $capabilities = array( 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -98,7 +103,8 @@ $capabilities = array( 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ), @@ -109,7 +115,8 @@ $capabilities = array( 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array( - 'editingteacher' => CAP_ALLOW + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW ) ),