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

Accept multiple --group-match for OR search. #55

Closed
wants to merge 1 commit into from

Conversation

ryotarai
Copy link

Description of changes:

Because Search query for Google Groups does not support OR clause, we cannot specify multiple groups especially in groups sync method.
This PR makes --group-match a slice flag and it works as OR clause.

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

ptqa pushed a commit to simplepractice/ssosync that referenced this pull request Sep 17, 2021
ptqa pushed a commit to simplepractice/ssosync that referenced this pull request Sep 17, 2021
@zumby
Copy link

zumby commented Oct 29, 2021

@ryotarai we've tested this on our infra, seems to be working fine. multiple groups created, users are added to these groups correctly

dgarbus added a commit to dgarbus/ssosync that referenced this pull request May 10, 2022
@ChrisPates
Copy link
Contributor

The multiple flag approach is fine for cli use but not suitable for lambda. However the desired functionality is being implemented under the feature branch feature-EnhancedMatch and will be released shortly.

@ChrisPates ChrisPates closed this Jan 23, 2023
@atmosx
Copy link

atmosx commented Aug 24, 2023

The multiple flag approach is fine for cli use but not suitable for lambda. However the desired functionality is being implemented under the feature branch feature-EnhancedMatch and will be released shortly.

The branch doesn't implement the functionality yet right? Using -g "name:System*, name:Engine*" I'm getting:

FATA[0000] googleapi: Error 400: Invalid Input: name:System*,, invalid

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.

4 participants