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-03-29 11:12:30 +08:00
parent b800501c76
commit ec5e497a35
+1
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,