Skip to content

Remove query parameters from security.get_user_privileges #4869

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

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

pquentin
Copy link
Member

They are not supported as this API only returns privileges from the current users and accepts no parameters. I've tested manually and confirmed with the source code and 8.x docs:

https://github.com/elastic/elasticsearch/blob/2a9f894b7a5acb04a53541100b23aa8301c1813a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUserPrivilegesAction.java#L58-L67

They are not supported as this API only returns privileges from the current
users and accepts no parameters.
Copy link
Contributor

Following you can find the validation changes against the target branch for the APIs.

No changes detected.

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin mentioned this pull request Jul 11, 2025
25 tasks
@pquentin pquentin requested a review from Anaethelion July 11, 2025 10:19
Copy link
Contributor

@Anaethelion Anaethelion left a comment

Choose a reason for hiding this comment

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

LGTM

@pquentin pquentin merged commit d7b2276 into main Jul 11, 2025
16 checks passed
@pquentin pquentin deleted the rest-api-spec-security-get-user-privileges branch July 11, 2025 13:22
pquentin added a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
pquentin added a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
@pquentin
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.19
8.18

Questions ?

Please refer to the Backport tool documentation

github-actions bot pushed a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
github-actions bot pushed a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
github-actions bot pushed a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
github-actions bot pushed a commit that referenced this pull request Jul 11, 2025
They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)
pquentin added a commit that referenced this pull request Jul 11, 2025
)

They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Jul 11, 2025
)

They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Jul 11, 2025
)

They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Jul 11, 2025
)

They are not supported as this API only returns privileges from the current
users and accepts no parameters.

(cherry picked from commit d7b2276)

Co-authored-by: Quentin Pradet <[email protected]>
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.

2 participants