Investigate inability to read non-public-read objects from the CN index
@taojing2002 đang làm issue này rồi.
Từ ngày 2/5/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DataONEorg/dataone
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
DataONEorg/dataone#29 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
DataONEorg/dataone#28 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
DataONEorg/dataone#27 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
DataONEorg/dataone#26 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
DataONEorg/dataone#25 · 1 bình luận ·