logger.warn"#{self.class.name}: LDAP group sync cannot remove #{user.name} (#{user.id}) from group #{group.name} (#{group.id}) as this is the group's last owner"
else
...
...
@@ -221,16 +221,6 @@ module Gitlab
where(ldap_group_links: {provider: provider})
end
# Get the group_access for a give user.
# Always respect the current level, never downgrade it.