From 8065b71bc626d91a319bc8b7901415581c8721f5 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Fri, 2 Feb 2018 11:07:54 -0500 Subject: [PATCH] SQL: Drop double quotes from permissions in docs We don't need the double quotes. Also, we follow up with an example that shows how to write them in yml. Original commit: elastic/x-pack-elasticsearch@835deca6f9c91869939e26b3d6d8de17980db5e1 --- docs/en/sql/endpoints/cli.asciidoc | 2 +- docs/en/sql/endpoints/jdbc.asciidoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/sql/endpoints/cli.asciidoc b/docs/en/sql/endpoints/cli.asciidoc index ae3e459aeef..316210408ff 100644 --- a/docs/en/sql/endpoints/cli.asciidoc +++ b/docs/en/sql/endpoints/cli.asciidoc @@ -43,7 +43,7 @@ James S.A. Corey |Leviathan Wakes |561 |1306972800000 =============================== If you are using Security you need to add a few permissions to users so they can run SQL. To run SQL using the CLI a user needs -`read`, `indices:admin/get`, and `"cluster:monitor/main"`. The +`read`, `indices:admin/get`, and `cluster:monitor/main`. The following example configures a role that can run SQL in the CLI for the `test` and `bort` indices: diff --git a/docs/en/sql/endpoints/jdbc.asciidoc b/docs/en/sql/endpoints/jdbc.asciidoc index 110174cd278..9ac197048dd 100644 --- a/docs/en/sql/endpoints/jdbc.asciidoc +++ b/docs/en/sql/endpoints/jdbc.asciidoc @@ -58,7 +58,7 @@ include-tagged::{jdbc-tests}/SimpleExampleTestCase.java[simple_example] If you are using Security you need to add a few permissions to users so they can run SQL. To run SQL a user needs `read` and `indices:admin/get`. Some parts of the API require -`"cluster:monitor/main"`. The following example configures a +`cluster:monitor/main`. The following example configures a role that can run SQL in JDBC querying the `test` and `bort` indices: