From b40ff63412ef89ba61a4215ee7478b06b22cf9ca Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Tue, 17 Oct 2017 15:20:07 +0200 Subject: Fix SAML error 500 when no groups are defined for user 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. --- changelogs/unreleased/tc-saml-fix-false-empty.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelogs/unreleased/tc-saml-fix-false-empty.yml (limited to 'changelogs/unreleased/tc-saml-fix-false-empty.yml') 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 -- cgit v1.2.1