MDL-61163 mod_wiki: add default view capability to frontpage

It is inconsistent that guests are allowed to view frontpage wiki but once user is logged in they
loose this capability
This commit is contained in:
Marina Glancy 2018-01-08 13:30:57 +08:00
parent 3a93df8b9a
commit c6956595f7

View File

@ -44,6 +44,7 @@ $capabilities = array(
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'guest' => CAP_ALLOW,
'frontpage' => CAP_ALLOW,
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,