Investigate inability to read non-public-read objects from the CN index

未关闭
#20 1 条评论 0 个 reaction 已指派 2 人 在 GitHub 查看

@taojing2002 已经在做这个了。

开始于 2022年5月2日。

评估

这个 Issue 还没有评估数据。

描述

bug Data Search

It looks like objects without public-read permission aren't being returned by the CN index when requests are made with a token that (1) is valid and (2) should have read permission. It's not clear how long this has been the case.

The package below is an example. We can see it fine on arctica but not on the CN:

  • Metadata PID: urn:uuid:ebcb68d6-45c1-4440-b214-bb5b8eca1d6c
  • Resource map PID: resource_map_urn:uuid:5aff3115-ff3d-446a-90ed-94057bbb9348

Note: The metadata does not have public read permission but the resource map does. This is actually what led us to discover things weren't working.

Since discovering, we haven't seen a case here we are able to see a non-public-read object. We know this used to work. We've confirmed the Solr document is in the index by querying Solr directly so it's something to do with the interaction of the API and Solr.

主要语言
没有语言数据
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DataONEorg/dataone 的其他 Issue

查看 DataONEorg/dataone 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。