Skip to content

Commit

Permalink
adding permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Aug 15, 2024
1 parent 2b6dbdb commit 56e1c56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 56e1c56

Please sign in to comment.