mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
group|role|user: Add new tab role/audit
This commit is contained in:
parent
a4a658974d
commit
fe7879c68b
@ -381,6 +381,15 @@ class GroupController extends AuthBackendController
|
||||
'url' => 'role/list'
|
||||
)
|
||||
);
|
||||
|
||||
$tabs->add(
|
||||
'role/audit',
|
||||
[
|
||||
'title' => $this->translate('Audit a user\'s privileges'),
|
||||
'label' => $this->translate('Audit'),
|
||||
'url' => 'role/audit'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
if ($this->hasPermission('config/access-control/users')) {
|
||||
|
@ -145,6 +145,15 @@ class RoleController extends AuthBackendController
|
||||
)
|
||||
);
|
||||
|
||||
$tabs->add(
|
||||
'role/audit',
|
||||
[
|
||||
'title' => $this->translate('Audit a user\'s privileges'),
|
||||
'label' => $this->translate('Audit'),
|
||||
'url' => 'role/audit'
|
||||
]
|
||||
);
|
||||
|
||||
if ($this->hasPermission('config/access-control/users')) {
|
||||
$tabs->add(
|
||||
'user/list',
|
||||
|
@ -338,6 +338,15 @@ class UserController extends AuthBackendController
|
||||
'url' => 'role/list'
|
||||
)
|
||||
);
|
||||
|
||||
$tabs->add(
|
||||
'role/audit',
|
||||
[
|
||||
'title' => $this->translate('Audit a user\'s privileges'),
|
||||
'label' => $this->translate('Audit'),
|
||||
'url' => 'role/audit'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
$tabs->add(
|
||||
|
Loading…
x
Reference in New Issue
Block a user