From aee5bd0612d98fc8447ff833db83cbe6876e3557 Mon Sep 17 00:00:00 2001 From: srosse <stephane.rosse@frentix.com> Date: Wed, 11 Mar 2020 17:39:51 +0100 Subject: [PATCH] OO-4563: propagate manager rights to the list of lectures --- .../olat/modules/lecture/ui/TeacherToolOverviewController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/olat/modules/lecture/ui/TeacherToolOverviewController.java b/src/main/java/org/olat/modules/lecture/ui/TeacherToolOverviewController.java index af63949a911..c7200b8d91b 100644 --- a/src/main/java/org/olat/modules/lecture/ui/TeacherToolOverviewController.java +++ b/src/main/java/org/olat/modules/lecture/ui/TeacherToolOverviewController.java @@ -52,7 +52,7 @@ public class TeacherToolOverviewController extends AbstractTeacherOverviewContro private LectureService lectureService; public TeacherToolOverviewController(UserRequest ureq, WindowControl wControl, LecturesSecurityCallback secCallback) { - super(ureq, wControl, false, "Lectures::UserTools", true, false); + super(ureq, wControl, secCallback.viewAs() == LectureRoles.lecturemanager, "Lectures::UserTools", true, false); this.secCallback = secCallback; initTables(ureq, false, false); -- GitLab