From 56e1c56fb54655bb6b51841f2ae0135be9573c00 Mon Sep 17 00:00:00 2001 From: Tokesh Date: Thu, 15 Aug 2024 22:35:33 +0500 Subject: [PATCH] adding permissions Signed-off-by: Tokesh --- tests/replication/replica.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/replication/replica.yaml b/tests/replication/replica.yaml index f76a90d4a..c0f8eeddb 100644 --- a/tests/replication/replica.yaml +++ b/tests/replication/replica.yaml @@ -44,9 +44,10 @@ chapters: payload: cluster_permissions: - "cluster:monitor/state" + - "cluster:admin/plugins/replication/index/setup/validate" index_permissions: - index_patterns: ["*"] - allowed_actions: ["indices:data/read/*"] + allowed_actions: ["indices:data/read/*", "indices:admin/plugins/replication/*"] response: status: 201 - synopsis: Create follower role. @@ -58,9 +59,10 @@ chapters: payload: cluster_permissions: - "cluster:admin/xpack/ccr/auto_follow_pattern/*" + - "cluster:admin/plugins/replication/index/setup/validate" index_permissions: - index_patterns: ["*"] - allowed_actions: ["indices:data/write/*"] + allowed_actions: ["indices:data/write/*", "indices:admin/plugins/replication/*"] response: status: 201 - synopsis: Map leader role to user.