fix typo in AuthorizationService comment
Original commit: elastic/x-pack-elasticsearch@f747df0311
This commit is contained in:
parent
0215356f12
commit
4f073cd4bd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue