aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2026-03-23 11:56:34 +0000
committerMoritz Strohm <strohm@data-quest.de>2026-03-23 11:56:34 +0000
commitc38f1cf0d08d644931a8d1786e3f52f50805e08c (patch)
tree1d5147a9cefd70112fdeac2185856c05ebc8e709
parentbe26c5050697d36f19cead28e1139c92110266d8 (diff)
institute/schedule controller: removed permission check, fixes #63895.5
Closes #6389 Merge request studip/studip!4850 (cherry picked from commit d14dc152074dca849decb54e649be00a389868f5) 824c47cb institute/schedule controller: removed permission check eb7ea9c2 added code improvement Co-authored-by: Moritz Strohm <strohm@data-quest.de>
-rw-r--r--app/controllers/institute/schedule.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/institute/schedule.php b/app/controllers/institute/schedule.php
index 1c5d091..7221903 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'));