fix typo in AuthorizationService comment

Original commit: elastic/x-pack-elasticsearch@f747df0311
This commit is contained in:
javanna 2017-05-12 11:17:42 +02:00 committed by Luca Cavanna
parent 0215356f12
commit 4f073cd4bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;