Don't add shard-specific versions of index/delete to isComposite

Original commit: elastic/x-pack-elasticsearch@3777e9db8b
This commit is contained in:
Lee Hinman 2017-01-10 10:39:53 -07:00
parent 320ec6716d
commit 66f96a4666
1 changed files with 0 additions and 9 deletions

View File

@ -309,19 +309,10 @@ public class AuthorizationService extends AbstractComponent {
}
}
private static String IndexActionSubRequestPrimary = IndexAction.NAME + "[p]";
private static String IndexActionSubRequestReplica = IndexAction.NAME + "[r]";
private static String DeleteActionSubRequestPrimary = DeleteAction.NAME + "[p]";
private static String DeleteActionSubRequestReplica = DeleteAction.NAME + "[r]";
private static boolean isCompositeAction(String action) {
return action.equals(BulkAction.NAME) ||
action.equals(IndexAction.NAME) ||
action.equals(DeleteAction.NAME) ||
action.equals(IndexActionSubRequestPrimary) ||
action.equals(IndexActionSubRequestReplica) ||
action.equals(DeleteActionSubRequestPrimary) ||
action.equals(DeleteActionSubRequestReplica) ||
action.equals(MultiGetAction.NAME) ||
action.equals(MultiTermVectorsAction.NAME) ||
action.equals(MultiSearchAction.NAME) ||