aboutsummaryrefslogtreecommitdiff
path: root/uploader/population/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/population/views.py')
-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,