@ -816,7 +816,7 @@ foreach ($categories as $category) {
);
$forumSessionIcon = '';
if (learnpath::isForumFromBaseCourse((int) $id)) {
if ($is_allowed_to_edit &&learnpath::isForumFromBaseCourse((int) $id)) {
$forumSessionIcon = Display::getMdiIcon('alert-circle', 'ch-tool-icon', '', 22, get_lang('This Learningpath includes a forum from the base course, so once users in a session will participate in this forum, it will start to appear in the forum tool in the session, whereas by default forums from the base course do not appear in the session.'));