Skip to content

Correct docs for available sort fields in query roles API#5513

Merged
pquentin merged 2 commits intoelastic:mainfrom
s-nel:role-sort-doc
Oct 29, 2025
Merged

Correct docs for available sort fields in query roles API#5513
pquentin merged 2 commits intoelastic:mainfrom
s-nel:role-sort-doc

Conversation

@s-nel
Copy link
Contributor

@s-nel s-nel commented Oct 17, 2025

Fixes the documentation for the sort field of the query roles API. The sort fields was incorrectly referencing fields from the query users API

I don't have privileges to create a branch on this repo, so opening from a fork

Closes #5560

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@pquentin pquentin merged commit f5d8900 into elastic:main Oct 29, 2025
27 of 29 checks passed
@github-actions
Copy link
Contributor

The backport to 8.19 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.19 8.19
# Navigate to the new working tree
cd .worktrees/backport-8.19
# Create a new branch
git switch --create backport-5513-to-8.19
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 f5d89001a3068e14b9c53d0185dcdbc6d4a74789
# Push it to GitHub
git push --set-upstream origin backport-5513-to-8.19
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.19

Then, create a pull request where the base branch is 8.19 and the compare/head branch is backport-5513-to-8.19.

github-actions bot pushed a commit that referenced this pull request Oct 29, 2025
* Correct the available sort fields for role query API

* Gen outputs

(cherry picked from commit f5d8900)
github-actions bot pushed a commit that referenced this pull request Oct 29, 2025
* Correct the available sort fields for role query API

* Gen outputs

(cherry picked from commit f5d8900)
pquentin pushed a commit that referenced this pull request Oct 29, 2025
)

Co-authored-by: Samuel Nelson <samuel.nelson@elastic.co>
pquentin pushed a commit that referenced this pull request Oct 29, 2025
)

* Correct the available sort fields for role query API

* Gen outputs

(cherry picked from commit f5d8900)

Co-authored-by: Samuel Nelson <samuel.nelson@elastic.co>
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