diff --git a/mod/data/rsslib.php b/mod/data/rsslib.php index a762dad4dfc..e03f30f6035 100644 --- a/mod/data/rsslib.php +++ b/mod/data/rsslib.php @@ -12,7 +12,7 @@ return null; } - if (!is_enrolled($context, null, 'mod/data:managetemplates')) { + if (!is_enrolled($context, null, 'mod/data:managetemplates') && !isguestuser()) { return null; } diff --git a/mod/glossary/rsslib.php b/mod/glossary/rsslib.php index a53f5ee86b3..4ebd37699ed 100644 --- a/mod/glossary/rsslib.php +++ b/mod/glossary/rsslib.php @@ -15,7 +15,7 @@ //check capabilities //glossary module doesn't require any capabilities to view glossary entries (aside from being logged in) - if (!is_enrolled($context)) { + if (!is_enrolled($context) && !isguestuser()) { return null; }