parent
e7a875da26
commit
dd7cbf4b69
|
@ -23,6 +23,7 @@ class GroupController extends AuthBackendController
|
||||||
public function listAction()
|
public function listAction()
|
||||||
{
|
{
|
||||||
$this->assertPermission('config/authentication/groups/show');
|
$this->assertPermission('config/authentication/groups/show');
|
||||||
|
$this->createListTabs()->activate('group/list');
|
||||||
$backendNames = array_map(
|
$backendNames = array_map(
|
||||||
function ($b) { return $b->getName(); },
|
function ($b) { return $b->getName(); },
|
||||||
$this->loadUserGroupBackends('Icinga\Data\Selectable')
|
$this->loadUserGroupBackends('Icinga\Data\Selectable')
|
||||||
|
@ -60,7 +61,6 @@ class GroupController extends AuthBackendController
|
||||||
|
|
||||||
$this->view->groups = $query;
|
$this->view->groups = $query;
|
||||||
$this->view->backend = $backend;
|
$this->view->backend = $backend;
|
||||||
$this->createListTabs()->activate('group/list');
|
|
||||||
|
|
||||||
$this->setupPaginationControl($query);
|
$this->setupPaginationControl($query);
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
|
|
|
@ -23,6 +23,7 @@ class UserController extends AuthBackendController
|
||||||
public function listAction()
|
public function listAction()
|
||||||
{
|
{
|
||||||
$this->assertPermission('config/authentication/users/show');
|
$this->assertPermission('config/authentication/users/show');
|
||||||
|
$this->createListTabs()->activate('user/list');
|
||||||
$backendNames = array_map(
|
$backendNames = array_map(
|
||||||
function ($b) { return $b->getName(); },
|
function ($b) { return $b->getName(); },
|
||||||
$this->loadUserBackends('Icinga\Data\Selectable')
|
$this->loadUserBackends('Icinga\Data\Selectable')
|
||||||
|
@ -60,7 +61,6 @@ class UserController extends AuthBackendController
|
||||||
|
|
||||||
$this->view->users = $query;
|
$this->view->users = $query;
|
||||||
$this->view->backend = $backend;
|
$this->view->backend = $backend;
|
||||||
$this->createListTabs()->activate('user/list');
|
|
||||||
|
|
||||||
$this->setupPaginationControl($query);
|
$this->setupPaginationControl($query);
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
|
|
Loading…
Reference in New Issue