Implement group_filter for LDAP integration

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Zendesk issue: https://gitlab.zendesk.com/agent/tickets/16230

In some LDAP systems users and groups appear within the same OU structure. In this case, when configuring a group_base and trying to link LDAP groups in the UI, both users and groups show in the autocomplete field. Supporting a group_filter option in configuration would allow administrators to set a filter such as (objectClass=group)

cc/ @JobV I don't think this would be too complicated. Please schedule if you think it sounds like a good idea.

Edited by 🤖 GitLab Bot 🤖