kibana/x-pack/test/api_integration/apis
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
..
aiops [ML] AIOps: Rename Explain Log Rate Spikes to Log Rate Analysis. (#161764) 2023-07-19 16:46:31 +02:00
asset_manager [asset manager] use metrics data plugin (#166756) 2023-09-27 14:56:42 -07:00
cases [Cases] Total users returned by suggested users API (#161329) 2023-07-07 15:53:59 +02:00
cloud_security_posture [Cloud Posture]remove cnvm from benchmarks (#162337) 2023-09-22 13:08:53 -07:00
console [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
es [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
features [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
file_upload [ML] Versioning file upload APIs (#158265) 2023-05-24 18:17:57 +01:00
kibana [data] Use versioned router for remaining routes (#161919) 2023-07-18 14:40:11 -07:00
lists [Security Solution] [Detection Engine] examine x-pack/test/api_integration/apis/lists/create_exception_list_item.ts (#161941) 2023-07-14 13:52:24 +01:00
logs_ui [Logs Shared] Move LogStream and LogView into new shared plugin (#161151) 2023-07-05 10:30:28 +02:00
logstash skip failing test suite (#151350) 2023-02-23 15:46:15 -05:00
management Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
maps [RAM] .es-query and .observability.rules.threshold RBAC (#166032) 2023-09-21 15:10:28 -07:00
metrics_ui [Infra UI] Cleanup host-specific Node Detail Page code (#166828) 2023-09-28 12:39:04 +02:00
ml [ML] Fix assertion for delete ingest pipelines api (#167451) 2023-09-28 10:54:37 -05:00
monitoring [Stack Monitoring] Document count graph doesn't show exact number (#164809) 2023-08-29 18:57:36 +02:00
monitoring_collection [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
osquery [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
painless_lab [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
search Unskip test from #164856 (#166293) 2023-09-13 13:56:01 -07:00
searchprofiler [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
security [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
security_solution Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
spaces [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
stats [stats] fix error when requesting extended stats by unauth users (#160520) 2023-06-27 02:01:55 -07:00
status /api/status - always return a consistent status code (#159768) 2023-06-20 02:06:40 -07:00
synthetics [Synthetics] Update package to 1.0.7 (#166822) 2023-09-20 18:15:18 +02:00
telemetry [Telemetry] Use header-based versioned APIs instead of path-based (#159839) 2023-08-12 14:20:06 -07:00
transform [ML] Transforms: Improve transform list reloading behavior. (#164296) 2023-09-01 12:52:30 -07:00
upgrade_assistant [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
uptime [Uptime] Filter out run once documents (#166704) 2023-09-28 19:24:42 +02:00
watcher [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00