[Discover] Fix ""range filter on version" permissions for cloud functional testing (#126377) (#126429)

(cherry picked from commit e7e9be9fa6)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
This commit is contained in:
Kibana Machine 2022-02-28 05:26:56 -05:00 committed by GitHub
parent 96228e3fdd
commit a0b1c0f7d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,6 +201,21 @@ export default async function ({ readConfigFile }) {
kibana: [],
},
version_test: {
elasticsearch: {
cluster: [],
indices: [
{
names: ['version-test'],
privileges: ['read', 'view_index_metadata', 'manage', 'create_index', 'index'],
field_security: { grant: ['*'], except: [] },
},
],
run_as: [],
},
kibana: [],
},
kibana_sample_read: {
elasticsearch: {
cluster: [],