Skip to content

Commit

Permalink
bwc integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Aug 27, 2024
1 parent 7ae4f3e commit 26533fc
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ public void testBwcWithLegacyCrossClusterSearch() throws Exception {
"privileges": ["read", "read_cross_cluster"],
"clusters": ["my_remote_cluster"]
}
],
"remote_cluster": [
{
"privileges": ["monitor_enrich"],
"clusters": ["*"]
}
]
}""");
assertOK(adminClient().performRequest(putRoleRequest));
Expand Down Expand Up @@ -157,6 +163,12 @@ public void testBwcWithLegacyCrossClusterSearch() throws Exception {
"privileges": ["read", "read_cross_cluster"],
"clusters": ["my_remote_*", "non_existing_remote_cluster"]
}
],
"remote_cluster": [
{
"privileges": ["monitor_enrich"],
"clusters": ["*"]
}
]
}
}
Expand Down

0 comments on commit 26533fc

Please sign in to comment.