I'm not sure, but it seems to be a bug. When I add a user to the userNamesToIgnore list, he is removed from all groups. A little debugging shows that ignored users are not skipped in the deployGitlabUsersAndGroups method.
Particularly ignored users are not skipped in this snippet.
Hello and thanks for the helpful tool.
I'm not sure, but it seems to be a bug. When I add a user to the
userNamesToIgnore
list, he is removed from all groups. A little debugging shows that ignored users are not skipped in thedeployGitlabUsersAndGroups
method.Particularly ignored users are not skipped in this snippet.
https://github.com/Adambean/gitlab-ce-ldap-sync/blob/fab2ace0071f12b95735baaa30bf141ce0226ff3/src/LdapSyncCommand.php#L1913-L1928