class DataPermissionCheckProviderResource extends AbstractDataResource {

  @POST  // should be a get, but query is too large
  @Path("permissionCheckGet")
  public Response getPermissionCheck(PermissionCheckProviderRequest request) {
    PermissionCheckProviderResult result = getPermissionCheckProvider().isPermitted(request);
    return responseOkObject(result);
  }

  public  DataPermissionCheckProviderResource(final PermissionCheckProvider permissionCheckProvider);

}