From 8479e90aebb039f2f6724401c3662359ebe56555 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 9 Aug 2023 10:16:48 +0530 Subject: [PATCH] fix: allow evaluators to access the discussions section --- lms/www/classes/class.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/www/classes/class.html b/lms/www/classes/class.html index c57e9444..1f20a6e4 100644 --- a/lms/www/classes/class.html +++ b/lms/www/classes/class.html @@ -173,7 +173,7 @@ {% endif %} - {% if class_students | length and (is_moderator or is_student) %} + {% if class_students | length and (is_moderator or is_student or is_evaluator) %}
{{ Discussions(class_info) }}
@@ -230,7 +230,7 @@ {% macro Discussions(class_info) %}
- {% set condition = is_moderator or is_student %} + {% set condition = is_moderator or is_student or is_evaluator %} {% set doctype, docname = _("LMS Class"), class_info.name %} {% set single_thread = True %} {% set title = "Discussions" %}