Skip to content

[v13] Fix list all access list members/reviews pagination.#37675

Merged
mdwn merged 3 commits intobranch/v13from
mike.wilson/v13-fix-alm-pagination
Feb 2, 2024
Merged

[v13] Fix list all access list members/reviews pagination.#37675
mdwn merged 3 commits intobranch/v13from
mike.wilson/v13-fix-alm-pagination

Conversation

@mdwn
Copy link
Copy Markdown
Contributor

@mdwn mdwn commented Feb 1, 2024

Backport #37593 to branch/v13.

Note: This backport was manual due to a conflict in lib/local/access_list_test.go. I had to pull in the newAccessListService helper function and remove tests that were for functionality that was not backported to v13.

changelog: Fixed cache init issue with access list members/reviews.

Two things were happening that was preventing the cache of access list
members from initializing if the number of members was greater than the
default page size of 200:

1. The incorrect page token was being used in the ListAllAccessListMembers
   call.
2. The pagination key for listing all of these members was incorrect due
   to the use of sub-prefixes.

Both issues have been corrected. The ListAllAccessListMembers call in the
access list service now uses its own custom pagination logic.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 1, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 1, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@rosstimothy
Copy link
Copy Markdown
Contributor

It looks like there are a few conflicts that still need to be resolved

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 February 2, 2024 17:57
@mdwn mdwn added this pull request to the merge queue Feb 2, 2024
Merged via the queue into branch/v13 with commit 5d64060 Feb 2, 2024
@mdwn mdwn deleted the mike.wilson/v13-fix-alm-pagination branch February 2, 2024 19:04
@camscale camscale mentioned this pull request Feb 6, 2024
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