mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 08:11:39 +02:00
MDL-28503 comment-caps Slight improvement to allow frontpage and guest users to view comments by default
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user