forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Search] Handle insufficient privileges nicely on Serverless (e…
…lastic#196160) (elastic#196383) # Backport This will backport the following commits from `main` to `8.x`: - [[Search] Handle insufficient privileges nicely on Serverless (elastic#196160)](elastic#196160) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sander Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-15T16:14:23Z","message":"[Search] Handle insufficient privileges nicely on Serverless (elastic#196160)\n\n## Summary\r\nThis adds a couple of callouts and disables unprivileged actions, so we\r\ndon't bombard the user with ugly error messages when they click buttons\r\nor navigate to pages.\r\n\r\n\r\nIt also:\r\n - Fixes a couple of TODO docLinks that were broken (oops)\r\n- Adds an errorhandler on all serverless search API routes so we surface\r\nissues to the user\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1f9bff8af16633b0f2921bea1522962ab40e737a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"[Search] Handle insufficient privileges nicely on Serverless","number":196160,"url":"https://github.com/elastic/kibana/pull/196160","mergeCommit":{"message":"[Search] Handle insufficient privileges nicely on Serverless (elastic#196160)\n\n## Summary\r\nThis adds a couple of callouts and disables unprivileged actions, so we\r\ndon't bombard the user with ugly error messages when they click buttons\r\nor navigate to pages.\r\n\r\n\r\nIt also:\r\n - Fixes a couple of TODO docLinks that were broken (oops)\r\n- Adds an errorhandler on all serverless search API routes so we surface\r\nissues to the user\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1f9bff8af16633b0f2921bea1522962ab40e737a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196160","number":196160,"mergeCommit":{"message":"[Search] Handle insufficient privileges nicely on Serverless (elastic#196160)\n\n## Summary\r\nThis adds a couple of callouts and disables unprivileged actions, so we\r\ndon't bombard the user with ugly error messages when they click buttons\r\nor navigate to pages.\r\n\r\n\r\nIt also:\r\n - Fixes a couple of TODO docLinks that were broken (oops)\r\n- Adds an errorhandler on all serverless search API routes so we surface\r\nissues to the user\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1f9bff8af16633b0f2921bea1522962ab40e737a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Sander Philipse <[email protected]>
- Loading branch information
1 parent
b2ba109
commit 51b8359
Showing
37 changed files
with
400 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.