kibana/x-pack/test/functional/apps
Julia Rechkunova 7fa04e92bc
[Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937)
- Resolves https://github.com/elastic/kibana/issues/158173

Based on PoC https://github.com/elastic/kibana/pull/166260

## Summary

This PR adds a new "Saved Query Management" privilege with 2 options:
- `All` will override any per app privilege and will allow users to save
queries from any Kibana page
- `None` will default to per app privileges (backward-compatible option)

<img width="600" alt="Screenshot 2023-09-21 at 15 26 25"
src="6d53548e-5c5a-4d6d-a86a-1e639cb77202">

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-09-29 11:52:39 +02:00
..
advanced_settings [Global settings] Restrict access to users with admin privileges (#153006) 2023-03-22 18:58:20 -06:00
aiops skip failing test suite (#160986) 2023-08-23 06:22:29 -04:00
api_keys Manage Cross-Cluster API keys (#162363) 2023-08-07 18:24:00 +01:00
apm [APM] UX text review (#161400) 2023-07-07 07:41:46 -07:00
canvas [Lens] Inline editing of lens panels on a dashboard or canvas (#166169) 2023-09-27 09:56:45 +02:00
cross_cluster_replication [Platform Onboarding] Elastic cloud migration assistant page (#145523) 2022-12-16 10:31:03 -05:00
dashboard [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
data_views batch 1 of removing es_archives/empty_kibana (#138189) 2022-08-12 16:49:35 +02:00
dev_tools [Dev Tools] Unskip dev_tools_security tests (#162739) 2023-08-07 09:01:19 -04:00
discover [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
graph [Graph] Stabilize FTs (#160015) 2023-06-21 09:19:54 +03:00
grok_debugger [CodeEditor] Add grok highlighting (#159334) 2023-06-13 12:05:26 +02:00
home Removed comment of the issue that was referenced for the skip. But the tests were already skipped. (#140338) 2022-09-09 19:52:51 -04:00
index_lifecycle_management batch 1 of removing es_archives/empty_kibana (#138189) 2022-08-12 16:49:35 +02:00
index_management [Index Management] Implement index details page (#165705) 2023-09-27 11:22:26 -07:00
infra [Infra UI] Replace node details flyout with asset details flyout in the inventory page (#166965) 2023-09-28 10:02:34 -07:00
ingest_pipelines [Ingest Pipelines] Fix functional tests (#159336) 2023-06-20 15:13:58 +01:00
lens [Lens] Unskip failing tests (#167599) 2023-09-29 12:15:07 +03:00
license_management [Upgade Assistant] Enable UA for minor upgrades (#143544) 2022-11-08 18:57:42 -07:00
logstash batch 1 of removing es_archives/empty_kibana (#138189) 2022-08-12 16:49:35 +02:00
management [RAM] Apply maintenance windows privilege to UI (#156191) 2023-05-02 06:47:29 -07:00
maps [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
ml [ML] Add data drift detection workflow from Trained models to Data comparison view (#162853) 2023-09-26 15:15:35 -07:00
monitoring [Stack Monitoring] pipeline_viewer test - retry expected validations (#160162) 2023-06-23 16:41:35 +02:00
observability_log_explorer [Log Explorer] Implement Data Views tab into selector (#166938) 2023-09-28 12:21:35 +02:00
remote_clusters [Index Management] Implement index details page (#165705) 2023-09-27 11:22:26 -07:00
reporting [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
reporting_management [Reporting] Remove PNG V1 (#162517) 2023-08-02 14:30:41 -06:00
rollup_job Added Rollups CCS Test (#144074) 2022-10-28 15:20:50 -04:00
saved_objects_management [Serverless] Unify Dashboard app IDs in functional tests (#166377) 2023-09-18 11:41:12 -04:00
saved_query_management [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
security unskip tests for chrome, fix tags (#158405) 2023-05-26 09:19:53 +01:00
snapshot_restore [Snapshot Restore] Fix broken Snapshot restore form (#161113) 2023-07-27 09:42:15 +01:00
spaces [Serverless] Unify Dashboard app IDs in functional tests (#166377) 2023-09-18 11:41:12 -04:00
status_page batch 1 of removing es_archives/empty_kibana (#138189) 2022-08-12 16:49:35 +02:00
transform Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
upgrade_assistant skip failing test suite (#167094) 2023-09-22 19:52:26 -04:00
uptime Fix flakiness on custom time range saved searches (#165454) 2023-09-25 09:32:57 +02:00
visualize [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
watcher unskip tests for chrome, fix tags (#158405) 2023-05-26 09:19:53 +01:00