From 2604a61a1ff9eea4d49bb0ac6ef750768f2dcf07 Mon Sep 17 00:00:00 2001 From: jankaspar <2270833+jankaspar@users.noreply.github.com> Date: Tue, 1 Jun 2021 16:42:31 +0100 Subject: [PATCH] Fix mapping of groups in Kerberos auth. (#587) --- internal/armada/authorization/kerberos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/armada/authorization/kerberos.go b/internal/armada/authorization/kerberos.go index efaa3b1021a..b3a45e1a32a 100644 --- a/internal/armada/authorization/kerberos.go +++ b/internal/armada/authorization/kerberos.go @@ -147,7 +147,7 @@ func (authService *KerberosAuthService) mapUserGroups(groupSIDs []string) ([]str } prefixedUserGroups := []string{} for _, group := range userGroups { - prefixedUserGroups = append(groupSIDs, group+authService.groupNameSuffix) + prefixedUserGroups = append(prefixedUserGroups, group+authService.groupNameSuffix) } return prefixedUserGroups, nil }