summaryrefslogtreecommitdiffstats
path: root/library/Director/Auth/Restriction.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:17:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:17:48 +0000
commite6d4dfc040bbe3cb80a2ce65b82493b557f751fc (patch)
tree40bd6366b01b06f4d96fc8638f23a772263cb5e9 /library/Director/Auth/Restriction.php
parentReleasing progress-linux version 1.10.2-2~progress7.99u1. (diff)
downloadicingaweb2-module-director-e6d4dfc040bbe3cb80a2ce65b82493b557f751fc.tar.xz
icingaweb2-module-director-e6d4dfc040bbe3cb80a2ce65b82493b557f751fc.zip
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/Director/Auth/Restriction.php')
-rw-r--r--library/Director/Auth/Restriction.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/library/Director/Auth/Restriction.php b/library/Director/Auth/Restriction.php
new file mode 100644
index 0000000..3394dcc
--- /dev/null
+++ b/library/Director/Auth/Restriction.php
@@ -0,0 +1,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';
+}