diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-03-23 11:56:17 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-03-23 11:56:17 +0000 |
| commit | fd52aa5184e1b1f02ef9792025e225253d3b3633 (patch) | |
| tree | 364b70809a4093db5f0d14b0b93d835bfe3e417b | |
| parent | 096fb2b02b7fb9b5341377d9b1233439cc11d986 (diff) | |
institute/schedule controller: removed permission check, fixes #63896.1
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.php | 13 |
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')); |
