mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
ConfigController: Always check if the user has permissions
This commit is contained in:
parent
5d4914faec
commit
02a2d90f1b
1 changed files with 6 additions and 6 deletions
|
|
@ -15,12 +15,12 @@ use ipl\Html\HtmlString;
|
|||
|
||||
class ConfigController extends Controller
|
||||
{
|
||||
// public function init()
|
||||
// {
|
||||
// $this->assertPermission('config/modules');
|
||||
//
|
||||
// parent::init();
|
||||
// }
|
||||
public function init()
|
||||
{
|
||||
$this->assertPermission('config/modules');
|
||||
|
||||
parent::init();
|
||||
}
|
||||
|
||||
public function databaseAction()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue