aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/icingaweb2/roles.ini.icinga_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/etc/icingaweb2/roles.ini.icinga_server')
-rw-r--r--files/usr/local/etc/icingaweb2/roles.ini.icinga_server12
1 files changed, 12 insertions, 0 deletions
diff --git a/files/usr/local/etc/icingaweb2/roles.ini.icinga_server b/files/usr/local/etc/icingaweb2/roles.ini.icinga_server
new file mode 100644
index 0000000..6e20e8a
--- /dev/null
+++ b/files/usr/local/etc/icingaweb2/roles.ini.icinga_server
@@ -0,0 +1,12 @@
+[Administrators]
+$(if [ -n "$icingaweb_admin_groups" ]; then
+cat <<EOF
+groups = "$(join ',' $icingaweb_admin_groups)"
+EOF
+fi)
+permissions = "*"
+
+[Users]
+groups = "${icingaweb_access_role}"
+permissions = "module/icingadb"
+icingadb/denylist/variables = "*priv*,*auth*,*key*,*pass*,*token*"