hashicorp / boundary

Boundary enables identity-based access management for dynamic infrastructure.
https://boundaryproject.io
Other
3.86k stars 289 forks source link

Backport of internal/auth/oidc: ensure all managed groups are tested on auth into release/0.18.x #5244

Closed hc-github-team-secure-boundary closed 1 week ago

hc-github-team-secure-boundary commented 1 week ago

Backport

This PR is auto-generated from #5242 to be assessed for backporting due to the inclusion of the label backport/0.18.x.

The below text is copied from the body of the original PR.


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.


Overview of commits - dfdbb4f46047d4aa2b431594680c6ed2477ac3aa