diff --git a/library/Icinga/Web/Controller/ModuleActionController.php b/library/Icinga/Web/Controller/ModuleActionController.php index 38826a84c..2cb5f62bc 100644 --- a/library/Icinga/Web/Controller/ModuleActionController.php +++ b/library/Icinga/Web/Controller/ModuleActionController.php @@ -26,7 +26,7 @@ class ModuleActionController extends ActionController protected function prepareInit() { $this->moduleInit(); - if ($this->requiresLogin() + if (($this->Auth()->isAuthenticated() || $this->requiresLogin()) && $this->getFrontController()->getDefaultModule() !== $this->getModuleName()) { $this->assertPermission(Manager::MODULE_PERMISSION_NS . $this->getModuleName()); }