mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'patch_view_anon_event_MDL-66213' of git://github.com/Dave-B/moodle
This commit is contained in:
commit
e3f29b01c0
5 changed files with 26 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue