diff --git a/lib/db/access.php b/lib/db/access.php index c9f0ee2333f..bc42449928d 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -1641,10 +1641,11 @@ $capabilities = array( ) ), 'moodle/comment:view' => array( - 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( + 'frontpage' => CAP_ALLOW, + 'guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW,