summaryrefslogtreecommitdiffstats
path: root/library/Director/Auth/Restriction.php
blob: 3394dccd06ca6185d61041479b2de0ed900f6797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace Icinga\Module\Director\Auth;

class Restriction
{
    public const MONITORING_RW_OBJECT_FILTER = 'director/monitoring/rw-object-filter';
    public const ICINGADB_RW_OBJECT_FILTER = 'director/icingadb/rw-object-filter';
    public const FILTER_HOSTGROUPS = 'director/filter/hostgroups';

    // Hint: by-name-Filters are being fetched with variable names, like "director/$type/apply/filter-by-name"
    public const NOTIFICATION_APPLY_FILTER_BY_NAME = 'director/notification/apply/filter-by-name';
    public const SCHEDULED_DOWNTIME_APPLY_FILTER_BY_NAME = 'director/scheduled-downtime/apply/filter-by-name';
    public const SERVICE_APPLY_FILTER_BY_NAME = 'director/service/apply/filter-by-name';
    public const SERVICE_SET_FILTER_BY_NAME = 'director/service_set/filter-by-name';
    const DB_RESOURCE = 'director/db_resource';
}