Skip to content

Commit

Permalink
adding all_access
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Nov 9, 2024
1 parent 8ede2de commit aa70210
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions tests/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ["*"]

Check failure on line 48 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
allowed_actions:
- "indices:admin/plugins/replication/index/setup/validate"
- "indices:data/read/plugins/replication/file_chunk"
- "indices:data/read/plugins/replication/changes"
["*"]

Check failure on line 50 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
response:
status: 201
- synopsis: Create follower role.
Expand All @@ -77,24 +74,6 @@ chapters:
payload:
backend_roles: ["admin", "leader-role", "follower"]

Check failure on line 75 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Must use plain style scalar

Check failure on line 75 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote

Check failure on line 75 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Must use plain style scalar
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
Expand Down

0 comments on commit aa70210

Please sign in to comment.