kibana/x-pack/test/api_integration/apis/security
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
..
api_keys.ts Allow users to Update API Keys (#146237) 2022-12-14 07:50:07 -05:00
basic_login.js Add user profile ID to audit log events (#141092) 2022-10-03 13:30:12 +01:00
builtin_es_privileges.ts [fix] import from the root of @kbn/expect (#101321) 2021-06-03 18:13:11 -04:00
change_password.ts Do not use outdated request package in tests. (#109225) 2021-08-24 16:08:38 +02:00
config.ts [ftr] split x-pack api integration tests based on plugin (#150837) 2023-02-13 15:06:11 +00:00
index.ts [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
index_fields.ts Split the .kibana saved objects index into multiple indices (#154888) 2023-04-25 09:43:42 +02:00
license_downgrade.ts Register "minimal" feature privileges regardless of the current license level (#115992) 2021-10-26 18:49:01 +01:00
privileges.ts [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
privileges_basic.ts [Kibana] New "Saved Query Management" privilege to allow saving queries across Kibana (#166937) 2023-09-29 11:52:39 +02:00
roles.ts Warn & Disallow Creating Role with Existing Name (#132218) 2022-05-25 08:34:41 -07:00
security_basic.ts [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
security_trial.ts [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
users.ts [ES] Upgrade client to v8.0 (#113950) 2021-10-26 14:08:22 +02:00