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

bug: Feature group_match in user_groups mode is broken #102

Closed
wants to merge 2 commits into from

Conversation

cmbrehm
Copy link
Contributor

@cmbrehm cmbrehm commented Sep 30, 2022

Issue #, if available: #52, #53, referenced in #91

Description of changes:
I have specified what I believe to be the intentions of interactions between group-match,ignore-groups and include-groups in the documentation and unit test cases. I also manually tested the different combinations and they worked as I would have expected. We would have to (should?) do some further refactoring to build comprehensive unit test cases for how the config options map to behavior.

  • Current Behavior:*
    ssosync -s users_groups -g 'name:foo*' synchs all users but doesn't synch any groups despite the Google query matching and returning groups. This is because logic in above line is always returning true as written.

Expected Behavior:
Above should now synchronize all groups that match.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Luis-3M
Copy link

Luis-3M commented Jan 10, 2023

+1
We've experienced the same behaviour and can confirm that this code change works as expected.

@Luis-3M
Copy link

Luis-3M commented Jan 11, 2023

@ChrisPates FYI

@ChrisPates
Copy link
Contributor

Looks good, I'll merge into a bug fix branch next week, test and hopefully release it before the end of the week as v2.0.3.

@ChrisPates ChrisPates self-assigned this Jan 23, 2023
@ChrisPates ChrisPates added the bug Something isn't working label Jan 23, 2023
@ChrisPates ChrisPates linked an issue Jan 23, 2023 that may be closed by this pull request
@ChrisPates
Copy link
Contributor

Will release as v2.0.3 once testing completed.

@ChrisPates ChrisPates closed this Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSOSYNC_GROUP_MATCH not filtering groups in Lambda
3 participants