diff --git a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php index 1cbaac0ede29..dc4d8f343a9a 100644 --- a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php +++ b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php @@ -160,21 +160,15 @@ public function mainAction(ServerRequestInterface $request): ResponseInterface ] ]; $this->MOD_SETTINGS = BackendUtility::getModuleData($this->MOD_MENU, GeneralUtility::_GP('SET'), 'system_txschedulerM1', '', '', ''); - // Access check! - // The page will show only if user has admin rights - if ($this->getBackendUser()->isAdmin()) { - // Set the form - $content = '
'; - - // Prepare main content - $content .= '

' . $this->getLanguageService()->getLL('function.' . $this->MOD_SETTINGS['function']) . '

'; - $content .= $this->getModuleContent(); - $content .= '
'; - } else { - // If no access, only display the module's title - $content = '

' . $this->getLanguageService()->getLL('title.') . '

'; - $content .= '
'; - } + + // Set the form + $content = '
'; + + // Prepare main content + $content .= '

' . $this->getLanguageService()->getLL('function.' . $this->MOD_SETTINGS['function']) . '

'; + $content .= $this->getModuleContent(); + $content .= '
'; + $this->getButtons(); $this->getModuleMenu();