gitlab-ce-ldap-sync
gitlab-ce-ldap-sync copied to clipboard
Users from the "userNamesToIgnore" list removed from their groups
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 the deployGitlabUsersAndGroups 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
@Adambean I tried to fix the bug. Can you take a look at the PR #41?
Thanks for submitting a PR :) I'll look into this shortly.