Skip to content

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

@amoeba

Description

@amoeba

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.

Metadata

Metadata

Labels

Data SearchService: Data SearchbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions