summaryrefslogtreecommitdiff
path: root/changelogs/unreleased/tc-saml-fix-false-empty.yml
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2017-10-17 15:20:07 +0200
committerToon Claes <toon@iotcl.com>2017-10-18 10:17:14 +0200
commitb40ff63412ef89ba61a4215ee7478b06b22cf9ca (patch)
tree5c90aa16335a5aefe1adb86e9d481de466f3a681 /changelogs/unreleased/tc-saml-fix-false-empty.yml
parentf69b54682fc1770a73c528032b1a86f3e7d547a1 (diff)
downloadgitlab-ce-b40ff63412ef89ba61a4215ee7478b06b22cf9ca.tar.gz
Fix SAML error 500 when no groups are defined for usertc-saml-fix-false-empty
When there are no groups defined in the auth hash attributes, `Gitlab::Saml::AuthHash#groups` should return an empty array, and `Gitlab::Saml::User#find_user` should not mark the user as external. Closes gitlab-org/gitlab-ce#38923.
Diffstat (limited to 'changelogs/unreleased/tc-saml-fix-false-empty.yml')
-rw-r--r--changelogs/unreleased/tc-saml-fix-false-empty.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/tc-saml-fix-false-empty.yml b/changelogs/unreleased/tc-saml-fix-false-empty.yml
new file mode 100644
index 00000000000..987f596475b
--- /dev/null
+++ b/changelogs/unreleased/tc-saml-fix-false-empty.yml
@@ -0,0 +1,5 @@
+---
+title: Fix SAML error 500 when no groups are defined for user
+merge_request: 14913
+author:
+type: fixed