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

Allow clearing user group users #137

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

deanhuynh
Copy link
Contributor

@deanhuynh deanhuynh commented Aug 12, 2024

We had an accidental non-zero length check on group users before calling replaceUsersInUserGroup, which made it impossible to clear all users from the group. This PR removes that check. Fixes #135.

Tested adding and removing users from the group and ensuring output and resulting state is correct.

@deanhuynh deanhuynh requested a review from a team as a code owner August 12, 2024 21:06
@deanhuynh deanhuynh merged commit 89d6e51 into main Aug 12, 2024
17 checks passed
@deanhuynh deanhuynh deleted the APICS-2509/fix-clear-group-users branch August 12, 2024 21:33
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.

Resource segment_user_group cannot remove user from group during update
3 participants