From a8e55f0f8bbefe772e1e6a47ec6eaba7c346a03c Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Wed, 29 Jul 2020 18:32:56 +0100 Subject: [PATCH] [ML] Removing node info check for file data viz import --- .../datavisualizer/file_based/components/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/utils/utils.ts b/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/utils/utils.ts index 6111974f369c8..49ee5ec6b90b0 100644 --- a/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/utils/utils.ts +++ b/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/utils/utils.ts @@ -167,7 +167,7 @@ export function processResults({ results, overrides }: AnalysisResult) { */ export async function hasImportPermission(indexName: string) { const priv: { cluster: string[]; index?: any } = { - cluster: ['cluster:monitor/nodes/info', 'cluster:admin/ingest/pipeline/put'], + cluster: ['cluster:admin/ingest/pipeline/put'], }; if (indexName !== undefined) {