You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.19] [One Discover] Handle Alerts and SLOs Privileges (#221786) (#222979)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[One Discover] Handle Alerts and SLOs Privileges
(#221786)](#221786)
<!--- Backport version: 10.0.0 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"mohamedhamed-ahmed","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-04T08:16:25Z","message":"[One
Discover] Handle Alerts and SLOs Privileges (#221786)\n\n##
Summary\n\ncloses
https://github.com/elastic/kibana/issues/177067\ncloseshttps://github.com/elastic/kibana/issues/184564\n\nThis PR check on
assigned privileges for the user to hide/show Alerts\nand SLOs depending
on whether the user has access to them or
not.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"7f5aa3e2692fd12cdff14847261952dc294391e4","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","backport
missing","Team:DataDiscovery","Team:obs-ux-logs","Project:OneDiscover","backport:version","v9.1.0","v8.19.0"],"title":"[One
Discover] Handle Alerts and SLOs
Privileges","number":221786,"url":"https://github.com/elastic/kibana/pull/221786","mergeCommit":{"message":"[One
Discover] Handle Alerts and SLOs Privileges (#221786)\n\n##
Summary\n\ncloses
https://github.com/elastic/kibana/issues/177067\ncloseshttps://github.com/elastic/kibana/issues/184564\n\nThis PR check on
assigned privileges for the user to hide/show Alerts\nand SLOs depending
on whether the user has access to them or
not.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"7f5aa3e2692fd12cdff14847261952dc294391e4"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221786","number":221786,"mergeCommit":{"message":"[One
Discover] Handle Alerts and SLOs Privileges (#221786)\n\n##
Summary\n\ncloses
https://github.com/elastic/kibana/issues/177067\ncloseshttps://github.com/elastic/kibana/issues/184564\n\nThis PR check on
assigned privileges for the user to hide/show Alerts\nand SLOs depending
on whether the user has access to them or
not.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"7f5aa3e2692fd12cdff14847261952dc294391e4"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Copy file name to clipboardExpand all lines: src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.test.tsx
Copy file name to clipboardExpand all lines: src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav_inline.test.tsx
+22-35Lines changed: 22 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ import { DiscoverMainProvider } from '../../state_management/discover_state_prov
Copy file name to clipboardExpand all lines: src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_top_nav_links.test.tsx
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ import type { DiscoverServices } from '../../../../build_services';
0 commit comments