From d14dc152074dca849decb54e649be00a389868f5 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Mon, 23 Mar 2026 11:56:01 +0000
Subject: institute/schedule controller: removed permission check, fixes #6389

Closes #6389

Merge request studip/studip!4850
---
 app/controllers/institute/schedule.php | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/app/controllers/institute/schedule.php b/app/controllers/institute/schedule.php
index 931bdb4..3aea4a9 100644
--- a/app/controllers/institute/schedule.php
+++ b/app/controllers/institute/schedule.php
@@ -1,19 +1,6 @@
 <?php
 class Institute_ScheduleController extends AuthenticatedController
 {
-    public function before_filter(&$action, &$args)
-    {
-        parent::before_filter($action, $args);
-
-        if (Navigation::hasItem('/course/main')) {
-            Navigation::activateItem('/course/main');
-        }
-
-        if (!$GLOBALS['perm']->have_studip_perm('autor', Context::getId())) {
-            throw new AccessDeniedException();
-        }
-    }
-
     public function index_action($institute_id)
     {
         PageLayout::setTitle(_('Veranstaltungs-Stundenplan'));
-- 
cgit v1.0

