forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
x-pack/qa/rolling-upgrade/src/test/resources/operator_users.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
operator: | ||
- usernames: ["test_user"] |
16 changes: 16 additions & 0 deletions
16
...g-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/130_operator_privileges.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"Test operator pivileges will work in the mixed cluster": | ||
|
||
- skip: | ||
features: headers | ||
version: " - 7.10.99" | ||
reason: "operator privileges are available since 7.11" | ||
|
||
- do: | ||
cluster.delete_voting_config_exclusions: { } | ||
|
||
# - do: | ||
# catch: forbidden | ||
# headers: # the non_operator user | ||
# Authorization: Basic bm9uX29wZXJhdG9yOngtcGFjay10ZXN0LXBhc3N3b3Jk | ||
# cluster.delete_voting_config_exclusions: { } |
17 changes: 17 additions & 0 deletions
17
...ing-upgrade/src/test/resources/rest-api-spec/test/old_cluster/130_operator_privileges.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"Test operator pivileges will work in the old cluster": | ||
|
||
- skip: | ||
features: headers | ||
version: " - 7.10.99" | ||
reason: "operator privileges are available since 7.11" | ||
|
||
- do: | ||
cluster.delete_voting_config_exclusions: { } | ||
# | ||
# - do: | ||
# catch: forbidden | ||
# headers: # the non_operator user | ||
# Authorization: Basic bm9uX29wZXJhdG9yOngtcGFjay10ZXN0LXBhc3N3b3Jk | ||
# cluster.delete_voting_config_exclusions: {} | ||
|