[6.x] Add new allow_restricted_indices field to the expected roles response result. (#29057)

This commit is contained in:
Aleh Zasypkin 2019-01-22 12:11:55 +01:00 committed by GitHub
parent c2c0fb9444
commit 8674d18358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,7 @@ export default function ({ getService }) {
{
names: ['logstash-*'],
privileges: ['read', 'view_index_metadata'],
allow_restricted_indices: false,
field_security: {
grant: ['*'],
except: ['geo.*']
@ -154,6 +155,7 @@ export default function ({ getService }) {
{
names: ['logstash-*'],
privileges: ['read', 'view_index_metadata'],
allow_restricted_indices: false,
field_security: {
grant: ['*'],
except: ['geo.*']