diff options
| author | Frederick Muriuki Muriithi | 2024-09-13 11:49:51 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2024-09-13 11:49:51 -0500 |
| commit | 319d4bf99a67aa7183c5cf5ee4f60e56a558d624 (patch) | |
| tree | 31b3c7a0898242b3d8e15bf244cf28756bd75128 /uploader/population/views.py | |
| parent | 851af01fcb32f58ca230a49091cab9db0c8b1f29 (diff) | |
| download | gn-uploader-319d4bf99a67aa7183c5cf5ee4f60e56a558d624.tar.gz | |
Leave notes on things that need to be handled in code and UI
Diffstat (limited to 'uploader/population/views.py')
| -rw-r--r-- | uploader/population/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uploader/population/views.py b/uploader/population/views.py index e870c85..f9041be 100644 --- a/uploader/population/views.py +++ b/uploader/population/views.py @@ -151,6 +151,9 @@ def create_population(species_id: int): species_id=species["SpeciesId"], error_values=values)) + # TODO: Setup auth + # 1. Create new resource in gn-auth and add this population to it + # 2. Assign active user the "resource-creator" rights to the new resource new_population = save_population(conn, { "SpeciesId": species["SpeciesId"], "Name": population_name, |
