kibana/src
Julia Rechkunova 7410fbf4d8
[Discover] Hide "Add a field", "Edit" and "Create a data view" buttons in viewer mode (#134582)
* [Discover] Hide "Add a field" button for read only access

* [Discover] Hide "Create a data view" button for read only access on desktop

* [Discover] Hide "Create a data view" and "Add a field" button for read only access on mobile

* [Discover] Make sure that error message is shown when access rights were reduced for a user in meantime

* [Discover] Make checks safe

* [Discover] Update tests

* [Discover] Streamline the logic

* [Discover] Update tests

* [Discover] Add tests

* [Discover] Add tests

* [Discover] Update code style

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-21 09:05:23 +02:00
..
cli fix all violations 2022-04-16 01:37:30 -05:00
cli_encryption_keys [jest] try running unit tests in parallel (#130823) 2022-04-21 16:37:06 -05:00
cli_keystore fix all violations 2022-04-16 01:37:30 -05:00
cli_plugin break out parts of @kbn/dev-utils (#130509) 2022-04-19 12:24:58 -05:00
cli_setup fix all violations 2022-04-16 01:37:30 -05:00
cli_verification_code Verification code CLI (#111707) 2021-09-14 21:58:25 +01:00
core Move server-side logging service to packages (#134438) 2022-06-20 10:54:21 +02:00
dev [Actionable Observability] Remove alerts, rules and cases experimental feature flags (#134157) 2022-06-15 16:54:41 +02:00
fixtures/telemetry_collectors fix all violations 2022-04-16 01:37:30 -05:00
plugins [Discover] Hide "Add a field", "Edit" and "Create a data view" buttons in viewer mode (#134582) 2022-06-21 09:05:23 +02:00
setup_node_env [preserve-symlinks] log about signals and errors, use valid code (#131880) 2022-05-10 19:27:27 -05:00