mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
149a974a44
commit
8358e9165c
@ -35,7 +35,9 @@ class ModuleActionController extends ActionController
|
||||
$this->_helper->layout()->moduleName = $this->moduleName;
|
||||
$this->view->translationDomain = $this->moduleName;
|
||||
$this->moduleInit();
|
||||
$this->assertPermission(Manager::MODULE_PERMISSION_NS . $this->moduleName);
|
||||
if ($this->getFrontController()->getDefaultModule() !== $this->moduleName) {
|
||||
$this->assertPermission(Manager::MODULE_PERMISSION_NS . $this->moduleName);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user