-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
use PIT search for savedObjectTagging plugin #120476
Conversation
httpCode: 403, | ||
expectResponse: ({ body }) => { | ||
expect(body).to.eql({ | ||
tags: [], | ||
error: 'Forbidden', | ||
message: 'unauthorized', | ||
statusCode: 403, |
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.
openPointInTimeForType
throws with a 403 when the user don't have the permissions to access any of the searched types, where find
returns an empty list instead (which is more consistent with how most of the other SO apis behave). see #109062 (comment) for more context
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-core (Team:Core) |
* use PIT search for savedObjectTagging plugin * fixing FTR tests * foo is the new grep * fix tests * fix tests again
* use PIT search for savedObjectTagging plugin * fixing FTR tests * foo is the new grep * fix tests * fix tests again
Summary
Part of #93770
Use
PIT
based searches instead of usingperPage: 10k
for SOT plugin