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
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