-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When LDAP group is deleted script stops #16
Labels
bug
Something isn't working
Comments
That sounds like a problem with Gitlab or its API. Perhaps this can be worked around by transferring the group owner to the root user if there's only 1 member left prior to removing that member from it. (Otherwise the group would have to be deleted when attempting to delete the last member.)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I have this scenario. I've had a LDAP group with users in them. ldap-sync will create these users and group.
Then I've deleted those users and the group from LDAP.
When ldap-sync runs it will mark those users as external and will try to remove every user from the group. This is not possible since Gitlab needs at least one user to be owner of the group.
The script however will stop when running into this. I get this error:
I understand that this is not possible but what I expect is that the script reports the error but continues with the rest.
Another question is: if I have deleteExtraGroups set to true. Will this also delete gitlab groups with the same names in groupNamesToIgnore?
The text was updated successfully, but these errors were encountered: