From ba555560de7c48db74604a386345fef085d28fed Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 30 Jul 2024 02:33:35 +0100 Subject: Update filters in LDAP and GitHub Grafana team syncers --- arthur/exts/grafana/ldap_team_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/exts/grafana/ldap_team_sync.py') diff --git a/arthur/exts/grafana/ldap_team_sync.py b/arthur/exts/grafana/ldap_team_sync.py index bff0ef2..2d63099 100644 --- a/arthur/exts/grafana/ldap_team_sync.py +++ b/arthur/exts/grafana/ldap_team_sync.py @@ -47,7 +47,7 @@ class GrafanaLDAPTeamSync(commands.Cog): for grafana_user in all_grafana_users: if grafana_user["login"] not in missing_members: continue - if grafana_user.get("auth_module") != "ldap": + if "LDAP" not in grafana_user.get("authLabels", []): continue await grafana.add_user_to_team( -- cgit v1.2.3