icingaweb2-module-director/application/controllers/NotificationsController.php
Thomas Gelf ec0ea2ee6d NotificationsController: use new base class...
...with less tabs, less and simpler code

fixes #13565
fixes #13157
2016-12-14 15:04:38 +01:00

14 lines
303 B
PHP

<?php
namespace Icinga\Module\Director\Controllers;
use Icinga\Module\Director\Web\Controller\NewObjectsController;
class NotificationsController extends NewObjectsController
{
protected function checkDirectorPermissions()
{
$this->assertPermission('director/notifications');
}
}