Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.16`: - [[Stream] Fix callout privileges (#198030)](#198030) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"mohamedhamed-ahmed","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-30T08:43:35Z","message":"[Stream] Fix callout privileges (#198030)\n\ncloses https://github.com/elastic/kibana/issues/197044\r\ncloses https://github.com/elastic/kibana/issues/197988\r\n\r\n## 📝 Summary\r\n\r\nThe PR targets fixing 3 bugs:\r\n\r\n1. The callout shouldn't be shown if `Logs Explorer` isn't available,\r\notherwise the link displayed in the callout will cause a problem. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n2. The callout shouldn't be shown if `Logs Explorer` is available but\r\nthe user doesn't have privilege to access it, otherwise we end up in\r\n`Application Not Found` page. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n3. The side nav entry for `Logs Explorer` should be hidden if `Logs\r\nExplorer` is disabled. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-ad4e42fbe4d2a7a99ec5d52fbf127ded12f0efe02a10e3afa0409b40be1f4bcfR397)","sha":"5576316abadc4115020f2e22bd823b413c8e98a2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services","v8.15.0","v8.16.0","backport:version","v8.17.0"],"number":198030,"url":"https://github.com/elastic/kibana/pull/198030","mergeCommit":{"message":"[Stream] Fix callout privileges (#198030)\n\ncloses https://github.com/elastic/kibana/issues/197044\r\ncloses https://github.com/elastic/kibana/issues/197988\r\n\r\n## 📝 Summary\r\n\r\nThe PR targets fixing 3 bugs:\r\n\r\n1. The callout shouldn't be shown if `Logs Explorer` isn't available,\r\notherwise the link displayed in the callout will cause a problem. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n2. The callout shouldn't be shown if `Logs Explorer` is available but\r\nthe user doesn't have privilege to access it, otherwise we end up in\r\n`Application Not Found` page. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n3. The side nav entry for `Logs Explorer` should be hidden if `Logs\r\nExplorer` is disabled. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-ad4e42fbe4d2a7a99ec5d52fbf127ded12f0efe02a10e3afa0409b40be1f4bcfR397)","sha":"5576316abadc4115020f2e22bd823b413c8e98a2"}},"sourceBranch":"main","suggestedTargetBranches":["8.15","8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198030","number":198030,"mergeCommit":{"message":"[Stream] Fix callout privileges (#198030)\n\ncloses https://github.com/elastic/kibana/issues/197044\r\ncloses https://github.com/elastic/kibana/issues/197988\r\n\r\n## 📝 Summary\r\n\r\nThe PR targets fixing 3 bugs:\r\n\r\n1. The callout shouldn't be shown if `Logs Explorer` isn't available,\r\notherwise the link displayed in the callout will cause a problem. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n2. The callout shouldn't be shown if `Logs Explorer` is available but\r\nthe user doesn't have privilege to access it, otherwise we end up in\r\n`Application Not Found` page. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-8c5f793d1bf0d933c73047f31ded8a5a65f91e4f8d5230fc4e40dfb9b245fec1R66)\r\n3. The side nav entry for `Logs Explorer` should be hidden if `Logs\r\nExplorer` is disabled. [Fix\r\nhere](https://github.com/elastic/kibana/pull/198030/files#diff-ad4e42fbe4d2a7a99ec5d52fbf127ded12f0efe02a10e3afa0409b40be1f4bcfR397)","sha":"5576316abadc4115020f2e22bd823b413c8e98a2"}},{"branch":"8.15","label":"v8.15.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information