Skip to content

Commit

Permalink
give teachers the capability to see private comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Friederike-cil committed Apr 14, 2021
1 parent 6ff8935 commit 2ac814d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,28 +348,30 @@
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
),
),

'mod/pdfannotator:writeprivatecomments' => array (
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'student' => CAP_ALLOW,
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'student' => CAP_ALLOW,
),
),

'mod/pdfannotator:writeprotectedcomments' => array (
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'student' => CAP_ALLOW,
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'student' => CAP_ALLOW,
),
),

Expand Down

0 comments on commit 2ac814d

Please sign in to comment.