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.