kibana/x-pack/test
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
..
accessibility [Index Management] Implement index details page (#165705) 2023-09-27 11:22:26 -07:00
alerting_api_integration [AO][SERVERLESS] Fix Custom Threshold rule tests for Serverless (#166942) 2023-09-29 11:24:51 +02:00
api_integration [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
api_integration_basic [ML] AIOps: Rename Explain Log Rate Spikes to Log Rate Analysis. (#161764) 2023-07-19 16:46:31 +02:00
apm_api_integration Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
banners_functional [Archive Migration] x-pack-banners/multispace (#135783) 2022-09-27 12:03:01 +01:00
cases_api_integration skip failing test suite (#157589) 2023-09-20 09:08:49 -04:00
cloud_integration [Drift] Revert adding Chat to Management (#159896) 2023-06-19 06:39:16 -07:00
cloud_security_posture_api [Telemetry] Use header-based versioned APIs instead of path-based (#159839) 2023-08-12 14:20:06 -07:00
cloud_security_posture_functional Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
common [Security Solution][Endpoint] Unskip metadata API ftr test (#167226) 2023-09-28 14:18:05 +02:00
custom_branding [Custom Branding] Add custom branding settings to Global settings (#150080) 2023-02-16 08:13:42 +01:00
defend_workflows_cypress [Defend Workflows] Add tags for mocked and real Endpoint Cypress tests for Serverless (#165094) 2023-09-20 10:36:11 +02:00
detection_engine_api_integration Risk score engine telemetry (#166787) 2023-09-29 06:46:05 +02:00
disable_ems Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
encrypted_saved_objects_api_integration [FTR - esArchiver] Update encrypted_saved_objects_api_integration test archives to reduce flakiness (#162321) 2023-07-24 12:33:42 -04:00
examples [RAM] Make Global Event Log Shareable (#163668) 2023-08-23 09:20:34 -07:00
fleet_api_integration skip failing test suite (#156941) 2023-09-28 13:11:49 -04:00
fleet_cypress Upgrading cypress to 12.17.4 (#165869) 2023-09-19 10:15:53 -07:00
fleet_functional Unskipping fleet_functional/apps/home/welcome·ts test (#160078) 2023-06-21 09:52:46 -04:00
fleet_packages [Fleet] improvements to install packages script run by daily job (#148517) 2023-01-09 16:00:26 +01:00
ftr_apis [FTR] KbnClientSavedObjects improvements (#149582) 2023-01-30 09:05:53 -07:00
functional [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
functional_basic [ML] Add functional tests for reauthorizing transforms (#156699) 2023-05-18 13:24:00 -05:00
functional_cloud [Cloud] ES endpoint discovery (#167122) 2023-09-28 04:20:53 -07:00
functional_cors [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
functional_embedded [Flaky #70928] Unskip test (#166177) 2023-09-13 09:06:05 +02:00
functional_enterprise_search [Enterprise Search] Enterprise Search Cypress configuration (#155398) 2023-04-21 17:06:41 +02:00
functional_execution_context skip failing test suite (#166007) 2023-09-19 09:30:44 -04:00
functional_with_es_ssl Upgrade EUI to v88.5.0 (#166868) 2023-09-27 13:04:45 -05:00
kubernetes_security k8s dashboard routes now versioned. types consolidated as v1. (#159359) 2023-06-13 09:27:39 -07:00
licensing_plugin unskip license type functional test (#163199) 2023-08-10 07:43:05 -07:00
lists_api_integration [DE][Exceptions] Allow numerous match_any values that differ in case (#167208) 2023-09-28 17:52:39 -07:00
load Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
localization [Lens] Fix issues with field name that contains : char in it (#163626) 2023-08-14 15:46:46 +02:00
monitoring_api_integration [Stack Monitoring] install packages before test suite runs (#165881) 2023-09-08 13:32:30 +02:00
observability_ai_assistant_api_integration [Observability AI Assistant] Lens function (#163872) 2023-08-17 09:45:51 +02:00
observability_api_integration feat(composite-slo): add feature flag (#159427) 2023-06-13 13:13:51 -04:00
observability_functional [RAM] .es-query and .observability.rules.threshold RBAC (#166032) 2023-09-21 15:10:28 -07:00
observability_onboarding_api_integration [Logs onboarding] Ensure versioning for SO (#165331) 2023-08-31 11:56:04 -07:00
osquery_cypress [Defend Workflows] Adjust headers in fleet api (#165823) 2023-09-06 15:47:47 +02:00
plugin_api_integration [Security solution] AWS Bedrock connector (#166662) 2023-09-27 16:44:52 -06:00
plugin_api_perf [Versioned HTTP] Add response runtime and type-level validation (#153011) 2023-03-13 10:54:42 -03:00
plugin_functional [Log Explorer] Convert log explorer profile into standalone app (#164493) 2023-08-31 14:18:44 +02:00
profiling_api_integration skip failing test suite (#167076) 2023-09-25 10:42:29 -05:00
reporting_api_integration [Reporting] Remove PNG V1 (#162517) 2023-08-02 14:30:41 -06:00
reporting_functional [Canvas] Fix flaky test failures when navigating to Canvas app (#164376) 2023-09-19 13:10:36 -07:00
rule_registry [RAM] .es-query and .observability.rules.threshold RBAC (#166032) 2023-09-21 15:10:28 -07:00
saved_object_api_integration [FTR - esArchiver] Update saved_object_api_integration archive to NOT delete SO indices (#161852) 2023-07-17 11:27:48 +02:00
saved_object_tagging skip failing test suite (#150249) 2023-09-28 18:46:45 -04:00
saved_objects_field_count
scalability test api/status for capacity (#164864) 2023-09-01 18:03:50 +02:00
screenshot_creation Upgrade EUI to v88.5.0 (#166868) 2023-09-27 13:04:45 -05:00
search_sessions_integration [ES|QL] Technical preview in Discover and Dashboards (#146971) 2023-09-01 12:22:00 +03:00
security_api_integration Allow Kibana to restrict the usage of JWT for a predefined set of routes only. (#163806) 2023-08-23 14:57:32 +02:00
security_functional [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
security_solution_cypress [Security Solution] Skip flaky test (#167591) 2023-09-29 10:02:04 +02:00
security_solution_endpoint [Security Solution] Discover-Timeline Integration saved search (#165596) 2023-09-28 11:20:47 -07:00
security_solution_endpoint_api_int [Security Solution][Endpoint] Unskip metadata API ftr test (#167226) 2023-09-28 14:18:05 +02:00
security_solution_ftr [Security Solution] Discover-Timeline Integration saved search (#165596) 2023-09-28 11:20:47 -07:00
session_view Revert "skip failing test suite (#159303)" 2023-06-08 09:46:42 -05:00
spaces_api_integration Unskips tests related to no_shard_available failures (#161109) 2023-07-07 11:34:47 -04:00
stack_functional_integration [QA] Dismiss telemetry banner in ccs console test (#164178) 2023-08-17 07:57:13 -07:00
threat_intelligence_cypress [Threat Intelligence] Switch to parallel cypress (#158801) 2023-06-07 15:58:26 +02:00
timeline [data.search] Use versioned router (#158520) 2023-06-07 10:33:39 +02:00
ui_capabilities Renaming the esre application into ai_search (#166632) 2023-09-20 16:22:49 +02:00
upgrade Migrate reporting FTRs from the Stats Usage API (#151808) 2023-02-23 03:53:27 -07:00
upgrade_assistant_integration
usage_collection [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
tsconfig.json [Lens] Color mapping for categorical dimensions (#162389) 2023-09-28 14:14:58 +02:00