mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
parent
149a974a44
commit
8358e9165c
@ -35,7 +35,9 @@ class ModuleActionController extends ActionController
|
|||||||
$this->_helper->layout()->moduleName = $this->moduleName;
|
$this->_helper->layout()->moduleName = $this->moduleName;
|
||||||
$this->view->translationDomain = $this->moduleName;
|
$this->view->translationDomain = $this->moduleName;
|
||||||
$this->moduleInit();
|
$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