From 72c49f88254469c0ef0ae3b3807d9ab219a388d1 Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Wed, 13 Nov 2024 20:23:27 -0800 Subject: [PATCH] ingest can see all samples --- htsget_server/htsget_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsget_server/htsget_operations.py b/htsget_server/htsget_operations.py index 834c5f13..8fe2ab78 100644 --- a/htsget_server/htsget_operations.py +++ b/htsget_server/htsget_operations.py @@ -305,7 +305,7 @@ def _get_samples(samples): for cohort in samples_by_cohort: result.extend(samples_by_cohort[cohort]) else: - if authz.request_is_from_query(connexion.request): + if authz.request_is_from_query(connexion.request) or authz.request_is_from_ingest(connexion.request): for cohort in samples_by_cohort: result.extend(samples_by_cohort[cohort]) else: