mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
e33791b50f
commit
5aa9738b55
@ -85,7 +85,7 @@ class ConfigController extends Controller
|
|||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
if ($this->firstAllowedAction === null) {
|
if ($this->firstAllowedAction === null) {
|
||||||
throw new SecurityException('No permission for configuration');
|
throw new SecurityException($this->translate('No permission for configuration'));
|
||||||
}
|
}
|
||||||
$action = $this->getTabs()->get($this->firstAllowedAction);
|
$action = $this->getTabs()->get($this->firstAllowedAction);
|
||||||
if (substr($action->getUrl()->getPath(), 0, 7) === 'config/') {
|
if (substr($action->getUrl()->getPath(), 0, 7) === 'config/') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user