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

Abierto
#20 1 comentario 0 reacciones 2 asignados Ver en GitHub

@taojing2002 ya está trabajando en esto.

Desde el 2/5/2022.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DataONEorg/dataone

Todos los issues de DataONEorg/dataone

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.