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

internal/auth/oidc: ensure all managed groups are tested on auth #5242

Merged

Conversation

johanbrandhorst
Copy link
Collaborator

Previously, we would list the managed groups with an implied filter of db.DefaultLimit (10,000), which would incorrectly remove a user from managed group memberships if there were more than 10,000 managed groups in an auth method. Explicitly set the list limit to unlimited to ensure all managed groups are updated appropriately.

@johanbrandhorst johanbrandhorst added this to the 0.18.x milestone Nov 14, 2024
@johanbrandhorst johanbrandhorst marked this pull request as ready for review November 14, 2024 19:53
Previously, we would list the managed groups with an implied
filter of db.DefaultLimit (10,000), which would incorrectly remove
a user from managed group memberships if there were more
than 10,000 managed groups in an auth method. Explicitly
set the list limit to unlimited to ensure all managed groups are
updated appropriately.
@johanbrandhorst johanbrandhorst force-pushed the jbrandhorst-update-all-managed-groups-on-authentication branch from 31b16e5 to dfdbb4f Compare November 14, 2024 22:46
@johanbrandhorst johanbrandhorst merged commit d830bdd into main Nov 14, 2024
60 of 62 checks passed
@johanbrandhorst johanbrandhorst deleted the jbrandhorst-update-all-managed-groups-on-authentication branch November 14, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants