aboutsummaryrefslogtreecommitdiff
path: root/uploader/population
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-13 11:49:51 -0500
committerFrederick Muriuki Muriithi2024-09-13 11:49:51 -0500
commit319d4bf99a67aa7183c5cf5ee4f60e56a558d624 (patch)
tree31b3c7a0898242b3d8e15bf244cf28756bd75128 /uploader/population
parent851af01fcb32f58ca230a49091cab9db0c8b1f29 (diff)
downloadgn-uploader-319d4bf99a67aa7183c5cf5ee4f60e56a558d624.tar.gz
Leave notes on things that need to be handled in code and UI
Diffstat (limited to 'uploader/population')
-rw-r--r--uploader/population/views.py3
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,