diff options
| author | Pjotr <wrk@bosa.lan> | 2026-10-09 05:59:08 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-10-09 09:18:16 -0500 |
| commit | ddd5d2d8d2830b6233acfebc9a5d84292cf19d6f (patch) | |
| tree | 9eb0b69fff72fcc9a43c2e3fe1d33fe1c23b25d1 /sql | |
| parent | daa2a75142638dd46167931dc1d246cfa679dc60 (diff) | |
| download | genenetwork3-ddd5d2d8d2830b6233acfebc9a5d84292cf19d6f.tar.gz | |
api: check dataset is public before serving sample data
sampledata.get_sampledata and lmdb_sample_data.get_sample_data read LMDB directly by dataset/trait name with no check that the dataset is public and non-confidential. Add dataset_is_public() to db_utils, checked against ProbeSetFreeze/PublishFreeze/GenoFreeze, and use it in both handlers to return 404 before touching LMDB when the dataset isn't found or isn't public. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions
