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@835deca6f9
This commit is contained in:
Nik Everett 2018-02-02 11:07:54 -05:00
parent 6808eabc7b
commit 8065b71bc6
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: