aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-30 02:06:19 +0100
committerGravatar Joe Banks <[email protected]>2024-07-30 02:06:19 +0100
commitcec3ddec109f0174bfb4efc91ebdcb54f90743f4 (patch)
treeab724cd6d91a05a891f33d9f035ab3ec95dd3fce
parentMerge pull request #246 from python-discord/renovate/pydis-core-11.x (diff)
Add Core Developers to LDAP enrollment
-rw-r--r--arthur/constants.py1
-rw-r--r--arthur/exts/grafana/ldap_team_sync.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/arthur/constants.py b/arthur/constants.py
index f56bb65..f3f1b4e 100644
--- a/arthur/constants.py
+++ b/arthur/constants.py
@@ -10,4 +10,5 @@ LDAP_ROLE_MAPPING = {
"devops": 409416496733880320,
"administrators": 267628507062992896,
"moderators": 267629731250176001,
+ "coredevs": 587606783669829632
}
diff --git a/arthur/exts/grafana/ldap_team_sync.py b/arthur/exts/grafana/ldap_team_sync.py
index 9c18a16..2537e47 100644
--- a/arthur/exts/grafana/ldap_team_sync.py
+++ b/arthur/exts/grafana/ldap_team_sync.py
@@ -14,6 +14,7 @@ GRAFANA_TO_LDAP_NAME_MAPPING = {
"devops": "devops",
"admins": "administrators",
"moderators": "moderators",
+ "core-developers": "coredevs"
}