Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2017-01-03 19:05:47 +0300
committerDrew Blessing <drew@gitlab.com>2017-01-03 22:26:47 +0300
commitbabb7d5260087abfe09d7c4d6994433def7d8b99 (patch)
tree7d52381908b12330c035d20b7028e1a06b244e6e /changelogs
parent37ef8d72d447b24f15fc2db1dcf6cec360a2f8be (diff)
Gitlab::LDAP::Person uses LDAP attributes configuration
We allow users to configure LDAP attribute preferences. For example, email can be configured to use `mail`, `email` and `userPrincipalName`, falling through to the next until a value is found. Prior to this change, Gitlab::LDAP::Person did not honor this configuration. Now, the class will honor `name` and `mail` configuration. It does not handle `username`, or fallback to `first_name` + `last_name` in the absence of `name`.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/ldap_person_attributes.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/ldap_person_attributes.yml b/changelogs/unreleased/ldap_person_attributes.yml
new file mode 100644
index 00000000000..d04b5dbe7e0
--- /dev/null
+++ b/changelogs/unreleased/ldap_person_attributes.yml
@@ -0,0 +1,4 @@
+---
+title: Gitlab::LDAP::Person uses LDAP attributes configuration
+merge_request: 8418
+author: