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.9] [ML] Transforms: Fix privileges check. (elastic#163687) (elasti…
…c#163725) # Backport This will backport the following commits from `main` to `8.9`: - [[ML] Transforms: Fix privileges check. (elastic#163687)](elastic#163687) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Walter Rafelsberger","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-11T13:46:56Z","message":"[ML] Transforms: Fix privileges check. (elastic#163687)\n\nFixes a regression introduced in elastic#154007.\r\n\r\nWhen security is disabled, the check for transform\r\nprivileges/capabilities would fail and the transform page would not\r\nrender.\r\n\r\n- This fixes the endpoint to return data in the correct format should\r\nsecurity be disabled.\r\n- The endpoint's TypeScript has been updated to catch malformed\r\nresponses.\r\n- The client side custom `useRequest` is replaced with `useQuery` from\r\n`'@tanstack/react-query'` which also fixes TypeScript support on the\r\nclient side.","sha":"ecaa8a73707f97c99ef2d57574ac3dcbac3096df","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix",":ml","Feature:Transforms","v8.10.0","v8.9.2"],"number":163687,"url":"https://github.com/elastic/kibana/pull/163687","mergeCommit":{"message":"[ML] Transforms: Fix privileges check. (elastic#163687)\n\nFixes a regression introduced in elastic#154007.\r\n\r\nWhen security is disabled, the check for transform\r\nprivileges/capabilities would fail and the transform page would not\r\nrender.\r\n\r\n- This fixes the endpoint to return data in the correct format should\r\nsecurity be disabled.\r\n- The endpoint's TypeScript has been updated to catch malformed\r\nresponses.\r\n- The client side custom `useRequest` is replaced with `useQuery` from\r\n`'@tanstack/react-query'` which also fixes TypeScript support on the\r\nclient side.","sha":"ecaa8a73707f97c99ef2d57574ac3dcbac3096df"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163687","number":163687,"mergeCommit":{"message":"[ML] Transforms: Fix privileges check. (elastic#163687)\n\nFixes a regression introduced in elastic#154007.\r\n\r\nWhen security is disabled, the check for transform\r\nprivileges/capabilities would fail and the transform page would not\r\nrender.\r\n\r\n- This fixes the endpoint to return data in the correct format should\r\nsecurity be disabled.\r\n- The endpoint's TypeScript has been updated to catch malformed\r\nresponses.\r\n- The client side custom `useRequest` is replaced with `useQuery` from\r\n`'@tanstack/react-query'` which also fixes TypeScript support on the\r\nclient side.","sha":"ecaa8a73707f97c99ef2d57574ac3dcbac3096df"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information
Showing
8 changed files
with
99 additions
and
99 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 was deleted.
Oops, something went wrong.
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