sennetconsortium / search-api

SenNet search service and associated pieces to create an index and reindex documents
0 stars 0 forks source link

Exclude excluded_properties_from_public_response from public indices #240

Closed maxsibilla closed 1 hour ago

maxsibilla commented 1 month ago

Properties that are to be excluded via the excluded_properties_from_public_response field in provenance_schema.yaml for all entities need to be excluded from all public indices.

At index/reindex time exclude these fields from the index: Example for Datasets (but should be excluded for all entities)

Related to https://github.com/sennetconsortium/entity-api/issues/447

maxsibilla commented 1 week ago

@tjmadonna After the Entity API PR was merged into dev it seems that it might not be working for the /documents endpoint. See https://data.dev.sennetconsortium.org/api/json/sample?uuid=15dee129bded962ad641089442bb42d3 This is a public sample and lab_tissue_sample_id is still present

tjmadonna commented 6 days ago

I only see lab_tissue_sample_id if I'm signed into the portal. Otherwise I don't see it.