Skip to content
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

Add regex group filter for gitlab connector, remove groups duplicates when getGroupsPermission is true #3820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SanchosPancho
Copy link

Overview

Add a group regex matcher to the GitLab connector config.

Remove group duplication when getGroupsPermission is true.

What this PR does / why we need it

Sometimes the IDP's can send very long list of groups, not all IDP's support group filters from the IDP side.

I've remove groups duplication when getGroupsPermission is true. I can't find any reason to keep original groups name and original groups name + permission. If someone enable getGroupsPermission flag, he expect to get only groups with permissions.

Special notes for your reviewer

I've add regex tests, but I'm not 100% that they are works well, can't run tests in local environment.
All changes I've tested manually in dev env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant