diff options
| author | Frederick Muriuki Muriithi | 2026-04-09 09:07:21 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-04-09 09:07:21 -0500 |
| commit | b79b39a73f81dbc711c69832f6529d58e42169cc (patch) | |
| tree | ea9dcc79b3fb17e9eedc2cd924f5472c8e4d44dd | |
| parent | 3fdbad1fe6b83229bb0641377130f1364624d059 (diff) | |
| download | gn-uploader-b79b39a73f81dbc711c69832f6529d58e42169cc.tar.gz | |
Add a comment note on phenotype resources.
| -rw-r--r-- | uploader/phenotypes/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index 9cacf61..c03f3f5 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -317,6 +317,11 @@ def create_dataset(species: dict, population: dict, **kwargs):# pylint: disable= dataset_shortname = ( form["dataset-shortname"] or form["dataset-name"]).strip() _pheno_dataset = save_new_dataset( + # It's not necessary to update the authorisation server to register + # new phenotype resource here, since each phenotype trait can, in + # theory, have its own access control allowing/disallowing access to + # it. In practice, however, we tend to gather multiple traits into a + # single resource for access control. cursor, population["Id"], form["dataset-name"].strip(), |
