mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-68054 lib: viewhiddenactivities should be set as captype:read
This commit is contained in:
parent
1afe68f382
commit
fe96a5528c
1 changed files with 2 additions and 2 deletions
|
@ -969,7 +969,7 @@ $capabilities = array(
|
|||
|
||||
'moodle/course:viewhiddenactivities' => array(
|
||||
|
||||
'captype' => 'write',
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
'archetypes' => array(
|
||||
'teacher' => CAP_ALLOW,
|
||||
|
@ -1558,7 +1558,7 @@ $capabilities = array(
|
|||
|
||||
'moodle/course:viewhiddensections' => array(
|
||||
|
||||
'captype' => 'write',
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'archetypes' => array(
|
||||
'editingteacher' => CAP_ALLOW,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue