blob: c8b08c6ed7c4c287c8a1b70236235dfd5e340846 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"""Constants, primarily used for LDAP enrollment preferences."""
# Users are only checked for enrollment if they have this role. This doesn't grant them any
# permissions, it is for performance to avoid iterating roles for every other user in the guild.
LDAP_BASE_STAFF_ROLE = 267630620367257601
# This is a mapping of LDAP groups to Discord roles. It is used to determine which users should be
# eligible for LDAP enrollment.
LDAP_ROLE_MAPPING = {
"devops": 409416496733880320,
"administrators": 267628507062992896,
"moderators": 267629731250176001,
"coredevs": 587606783669829632,
}
|