Support customizable AUTH_LDAP_USER_ATTR_MAP using envvar

8 jobs for 194-ldap-auth in 23 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Review
manual #8950
funkwhale-review allowed to fail manual
review_docs
manual #8948
funkwhale-review allowed to fail manual
review_front
manual #8951
funkwhale-review allowed to fail manual
stop_docs_review
manual #8949
funkwhale-review allowed to fail manual
stop_front_review
 
  Lint
failed #8952
black

00:00:21

passed #8953
flake8

00:00:23

 
  Test
skipped #8954
docker
test_api
skipped #8955
docker
test_front
 
Name Stage Failure
failed
black Lint
             AUTH_LDAP_USER_ATTR_MAP[DJANGO_FIELD] = LDAP_FIELD
else:
# Standard attribute map
AUTH_LDAP_USER_ATTR_MAP = {
"first_name": "givenName",
would reformat api/config/settings/common.py
All done! 💥 💔 💥
1 file would be reformatted, 282 files would be left unchanged.
ERROR: Job failed: exit code 1