blob: 419859d5ca4b8bdf85030a352357a9590333d47c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
namespace Icinga\Module\Director\Dashboard\Dashlet;
class ApiUserObjectDashlet extends Dashlet
{
protected $icon = 'lock-open-alt';
protected $requiredStats = array('apiuser');
public function getTitle()
{
return $this->translate('Icinga Api users');
}
public function getUrl()
{
return 'director/apiusers';
}
public function listRequiredPermissions()
{
return array('director/admin');
}
}
|