Investigate inability to read non-public-read objects from the CN index
@taojing2002 已经在做这个了。
开始于 2022年5月2日。
评估
这个 Issue 还没有评估数据。
描述
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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DataONEorg/dataone 的其他 Issue
-
难度 5/5 一周以上 新手友好度 8/100
DataONEorg/dataone#29 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 8/100
DataONEorg/dataone#28 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
DataONEorg/dataone#27 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
DataONEorg/dataone#26 ·
-
难度 4/5 3-5 天 新手友好度 35/100
DataONEorg/dataone#25 · 1 条评论 ·