Skip to content

Commit 6752729

Browse files
fix spelling
1 parent 1236823 commit 6752729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/user/InternalUsersTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,15 +387,15 @@ public void testCrossProjectSearchUser() {
387387
assertThat(role.hasFieldOrDocumentLevelSecurity(), is(false));
388388
assertThat(role.hasWorkflowsRestriction(), is(false));
389389

390-
final List<String> alloweClusterActions = List.of(
390+
final List<String> allowedClusterActions = List.of(
391391
RemoteClusterService.REMOTE_CLUSTER_HANDSHAKE_ACTION_NAME,
392392
TaskCancellationService.REMOTE_CLUSTER_BAN_PARENT_ACTION_NAME,
393393
TaskCancellationService.REMOTE_CLUSTER_CANCEL_CHILD_ACTION_NAME,
394394
"cluster:internal:data/read/esql/open_exchange",
395395
"cluster:internal:data/read/esql/exchange"
396396
);
397397

398-
for (String clusterAction : alloweClusterActions) {
398+
for (String clusterAction : allowedClusterActions) {
399399
checkClusterAccess(crossProjectSearchUser, role, clusterAction, true);
400400
}
401401

0 commit comments

Comments
 (0)