in src/main/java/com/microsoft/azure/datalake/store/Core.java [1135:1156]
public static void checkAccess(String path,
String rwx,
ADLStoreClient client,
RequestOptions opts,
OperationResponse resp) {
if (rwx == null || rwx.trim().equals("")) {
resp.message = "null or empty access specification passed in to check access for";
resp.successful = false;
return;
}
if (!isValidRwx(rwx)) {
resp.message = "invalid access specification passed in to check access for: " + rwx;
resp.successful = false;
return;
}
QueryParams qp = new QueryParams();
qp.add("fsaction", rwx);
HttpTransport.makeCall(client, Operation.CHECKACCESS, path, qp, null, 0, 0, opts, resp);
}