diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-03-23 11:56:24 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-03-23 11:56:24 +0000 |
| commit | 422df15a1b4789f2bcb90dc856b4d71b60fc6960 (patch) | |
| tree | 0771fe19781f71db6367933fec98767d17081c5e | |
| parent | e0f408345bb06eeecf789c66a3f5a401095e5197 (diff) | |
institute/schedule controller: removed permission check, fixes #63896.0
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')); |
