Skip to content
Snippets Groups Projects
Commit 2ac814d0 authored by Friederike Schwager's avatar Friederike Schwager
Browse files

give teachers the capability to see private comments

parent 6ff89356
Branches
Tags
No related merge requests found
...@@ -348,6 +348,8 @@ $capabilities = array( ...@@ -348,6 +348,8 @@ $capabilities = array(
'contextlevel' => CONTEXT_MODULE, 'contextlevel' => CONTEXT_MODULE,
'archetypes' => array( 'archetypes' => array(
'manager' => CAP_ALLOW, 'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
), ),
), ),
...@@ -355,10 +357,10 @@ $capabilities = array( ...@@ -355,10 +357,10 @@ $capabilities = array(
'captype' => 'write', 'captype' => 'write',
'contextlevel' => CONTEXT_MODULE, 'contextlevel' => CONTEXT_MODULE,
'archetypes' => array( 'archetypes' => array(
'student' => CAP_ALLOW,
'manager' => CAP_ALLOW, 'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW, 'teacher' => CAP_ALLOW,
'student' => CAP_ALLOW,
), ),
), ),
...@@ -366,10 +368,10 @@ $capabilities = array( ...@@ -366,10 +368,10 @@ $capabilities = array(
'captype' => 'write', 'captype' => 'write',
'contextlevel' => CONTEXT_MODULE, 'contextlevel' => CONTEXT_MODULE,
'archetypes' => array( 'archetypes' => array(
'student' => CAP_ALLOW,
'manager' => CAP_ALLOW, 'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW, 'teacher' => CAP_ALLOW,
'student' => CAP_ALLOW,
), ),
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment