mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-12 16:34:26 +02:00
For existing installations this should only affect Timeperiods, as they will now prefer the global zone. Also some custom zone settings might now take effect while they have formerly been ignored. fixes #12252
44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\Objects;
|
|
|
|
class IcingaUser extends IcingaObject
|
|
{
|
|
protected $table = 'icinga_user';
|
|
|
|
protected $defaultProperties = array(
|
|
'id' => null,
|
|
'object_name' => null,
|
|
'object_type' => null,
|
|
'disabled' => 'n',
|
|
'display_name' => null,
|
|
'email' => null,
|
|
'pager' => null,
|
|
'enable_notifications' => null,
|
|
'period_id' => null,
|
|
'zone_id' => null,
|
|
);
|
|
|
|
protected $supportsGroups = true;
|
|
|
|
protected $supportsCustomVars = true;
|
|
|
|
protected $supportsFields = true;
|
|
|
|
protected $supportsImports = true;
|
|
|
|
protected $booleans = array(
|
|
'enable_notifications' => 'enable_notifications'
|
|
);
|
|
|
|
protected $relatedSets = array(
|
|
'states' => 'StateFilterSet',
|
|
'types' => 'TypeFilterSet',
|
|
);
|
|
|
|
protected $relations = array(
|
|
'period' => 'IcingaTimePeriod',
|
|
'zone' => 'IcingaZone',
|
|
);
|
|
}
|