Skip to content
Browse files

MDL-28503 comment-caps Slight improvement to allow frontpage and gues…

…t users to view comments by default
  • Loading branch information...
1 parent 5167f4c commit b3da2877a76b84cc2d6a98cb72663c29ea6501a4 Sam Hemelryk committed Jul 29, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/db/access.php
View
3 lib/db/access.php
@@ -1641,10 +1641,11 @@
)
),
'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,

0 comments on commit b3da287

Please sign in to comment.
Something went wrong with that request. Please try again.