Merge branch 'patch_view_anon_event_MDL-66213' of git://github.com/Dave-B/moodle

This commit is contained in:
Sara Arjona 2020-01-13 10:10:10 +01:00
commit e3f29b01c0
5 changed files with 26 additions and 3 deletions

View file

@ -391,6 +391,17 @@ $capabilities = array(
)
),
'moodle/site:viewanonymousevents' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'teacher' => CAP_PROHIBIT,
'editingteacher' => CAP_PROHIBIT,
'manager' => CAP_ALLOW
)
),
'moodle/site:viewfullnames' => array(
'captype' => 'read',