diff --git a/tests/replication/replica.yaml b/tests/replication/replica.yaml index b5339aac9..b004af21a 100644 --- a/tests/replication/replica.yaml +++ b/tests/replication/replica.yaml @@ -43,14 +43,11 @@ chapters: request: payload: cluster_permissions: - - "cluster:monitor/state" - - "cluster:admin/plugins/replication/index/setup/validate" + - 'cluster:all' index_permissions: - - index_patterns: ["books-*"] + - index_patterns: ["*"] allowed_actions: - - "indices:admin/plugins/replication/index/setup/validate" - - "indices:data/read/plugins/replication/file_chunk" - - "indices:data/read/plugins/replication/changes" + ["*"] response: status: 201 - synopsis: Create follower role. @@ -77,24 +74,6 @@ chapters: payload: backend_roles: ["admin", "leader-role", "follower"] users: ["admin", "leader-role", "follower"] - # - synopsis: Getting all role mappings. - # path: /_plugins/_security/authinfo - # method: GET - # - synopsis: Get `follower` role permissions. - # path: /_plugins/_security/api/roles/{role} - # parameters: - # role: follower - # method: GET - # - synopsis: Get `leader` role permissions. - # path: /_plugins/_security/api/roles/{role} - # parameters: - # role: leader_role - # method: GET - # - synopsis: Get `leader` role permissions. - # path: /_plugins/_security/api/roles/{role} - # parameters: - # role: all_access - # method: GET - synopsis: Establish connection. path: /_cluster/settings method: PUT