-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add seperate interface for UIAM authentication #138635
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
Add seperate interface for UIAM authentication #138635
Conversation
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
|
Pinging @elastic/es-security (Team:Security) |
| // 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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
slobodanadamovic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
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]