2017-09-08 10:59:47 -04:00
|
|
|
read_all:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-07-27 17:40:14 -04:00
|
|
|
indices:
|
|
|
|
- names: test
|
|
|
|
privileges: [read]
|
2017-09-08 10:59:47 -04:00
|
|
|
- names: bort
|
|
|
|
privileges: [read]
|
2017-07-27 17:40:14 -04:00
|
|
|
|
|
|
|
read_something_else:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-07-27 17:40:14 -04:00
|
|
|
indices:
|
|
|
|
- names: something_that_isnt_test
|
|
|
|
privileges: [read]
|
|
|
|
|
|
|
|
read_test_a:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-07-27 17:40:14 -04:00
|
|
|
indices:
|
|
|
|
- names: test
|
|
|
|
privileges: [read]
|
|
|
|
field_security:
|
|
|
|
grant: [a]
|
|
|
|
|
|
|
|
read_test_a_and_b:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-07-27 17:40:14 -04:00
|
|
|
indices:
|
|
|
|
- names: test
|
|
|
|
privileges: [read]
|
|
|
|
field_security:
|
|
|
|
grant: ["*"]
|
|
|
|
except: [c]
|
|
|
|
|
|
|
|
read_test_without_c_3:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-07-27 17:40:14 -04:00
|
|
|
indices:
|
|
|
|
- names: test
|
|
|
|
privileges: [read]
|
|
|
|
query: |
|
|
|
|
{
|
|
|
|
"bool": {
|
|
|
|
"must_not": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"c": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2017-09-08 10:59:47 -04:00
|
|
|
|
|
|
|
read_bort:
|
2017-10-30 23:22:12 +00:00
|
|
|
cluster:
|
|
|
|
- monitor # Used by JDBC's MetaData
|
2017-09-08 10:59:47 -04:00
|
|
|
indices:
|
|
|
|
- names: bort
|
|
|
|
privileges: [read]
|