From 319d4bf99a67aa7183c5cf5ee4f60e56a558d624 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 13 Sep 2024 11:49:51 -0500 Subject: Leave notes on things that need to be handled in code and UI --- uploader/population/views.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'uploader/population') 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, -- cgit v1.2.3