From f3b43259a40b2b46ca87614c590bf8d7d4fbbb8a Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 10 Dec 2023 15:44:26 -0800 Subject: [PATCH] Remove plurals from group names --- grafana.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana.nix b/grafana.nix index 3e42c9a..6c2314e 100644 --- a/grafana.nix +++ b/grafana.nix @@ -135,8 +135,8 @@ in { token_url = "https://${cfg.oauth.hostname}/application/o/token/"; api_url = "https://${cfg.oauth.hostname}/application/o/userinfo/"; role_attribute_path = concatStringsSep " || " [ - "contains(groups[*], 'Metrics Admins') && 'Admin'" - "contains(groups[*], 'Metrics Editors') && 'Editor'" + "contains(groups[*], 'Metrics Admin') && 'Admin'" + "contains(groups[*], 'Metrics Editor') && 'Editor'" "'Viewer'" ]; };