Don't require the module permission for the default module

refs #9644
This commit is contained in:
Eric Lippmann 2015-07-24 15:11:21 +02:00
parent 149a974a44
commit 8358e9165c
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}
/**