From 4f073cd4bdedd04ffc0b873357a1b1bf052994cb Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 12 May 2017 11:17:42 +0200 Subject: [PATCH] fix typo in AuthorizationService comment Original commit: elastic/x-pack-elasticsearch@f747df03112284e0208ed3da78b2a354c221acf7 --- .../xpack/security/authz/AuthorizationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java b/plugin/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java index 44ee1c0d953..cdd6d4c33ec 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java @@ -192,7 +192,7 @@ public class AuthorizationService extends AbstractComponent { throw new IllegalStateException("Bulk translated actions must implement " + CompositeIndicesRequest.class.getSimpleName() + ", " + request.getClass().getSimpleName() + " doesn't"); } - // we check if the user can execute the action, without looking at indices, whici will be authorized at the shard level + // we check if the user can execute the action, without looking at indices, which will be authorized at the shard level if (permission.indices().check(action)) { grant(authentication, action, request); return;