From 10bb3295de2f8622f9360cb310a396504d614a88 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 13 Dec 2023 17:50:15 +0100 Subject: [PATCH] fix: grafana editor role is unused for now --- hosts/flora-6/apps/grafana.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/flora-6/apps/grafana.nix b/hosts/flora-6/apps/grafana.nix index d5260991..70e2b36e 100644 --- a/hosts/flora-6/apps/grafana.nix +++ b/hosts/flora-6/apps/grafana.nix @@ -68,7 +68,7 @@ auth_url = "https://auth.pub.solar/realms/pub.solar/protocol/openid-connect/auth"; token_url = "https://auth.pub.solar/realms/pub.solar/protocol/openid-connect/token"; api_url = "https://auth.pub.solar/realms/pub.solar/protocol/openid-connect/userinfo"; - role_attribute_path = "contains(roles[*], 'admin') && 'GrafanaAdmin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'"; + role_attribute_path = "contains(roles[*], 'admin') && 'GrafanaAdmin' || 'Viewer'"; allow_assign_grafana_admin = true; }; };