Skip to content

Conversation

@ywangd
Copy link
Member

@ywangd ywangd commented Nov 26, 2025

This PR separate allowCrossProject from IndicesRequest.Replaceable into its own interface so that it can be implemented by requests that are not replaceable, such as ES|QL query request.

Relates: ES-13662

Co-authored-by: Slobodan Adamović [email protected]

This PR separate allowCrossProject from IndicesRequest.Replaceable into
its own interface so that it can be implemented by requests that are not
replaceable, such as ES|QL query request.

Relates: ES-13662
@ywangd ywangd added >non-issue :Security/Security Security issues without another label v9.3.0 labels Nov 26, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@elasticsearchmachine elasticsearchmachine added Team:Security Meta label for security team serverless-linked Added by automation, don't add manually labels Nov 26, 2025
Comment on lines +564 to 565
// If more exceptions are found, we can add a comment to above linked issue and relax this check further
assert replaceable.indices() == null || isNoneExpression(replaceable.indices()) : message;
Copy link
Member Author

Choose a reason for hiding this comment

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

Slobodan ran into this assertion failure. But I haven't seen it so far. This is a known issue. So I added a comment to say that we can relax it if it is triggered.

Copy link
Contributor

Choose a reason for hiding this comment

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

I run into this while running a newly added CPS ES|QL test.

Copy link
Contributor

@slobodanadamovic slobodanadamovic left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ywangd ywangd added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 26, 2025
@elasticsearchmachine elasticsearchmachine merged commit 6932053 into elastic:main Nov 26, 2025
40 checks passed
@ywangd ywangd deleted the ES-13662-expand-uiam-authentication branch November 26, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :Security/Security Security issues without another label serverless-linked Added by automation, don't add manually Team:Security Meta label for security team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants