From a56becfa079cebc030237d9b6acc3d38756bb7ef Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 10 Oct 2023 09:10:12 +0300 Subject: Temporarily return no data for resources of types system and group. --- gn_auth/auth/authorisation/resources/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation') diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py index f4be978..451b165 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -287,7 +287,9 @@ def attach_resources_data( resource_data_function = { "mrna": mrna_attach_resources_data, "genotype": genotype_attach_resources_data, - "phenotype": phenotype_attach_resources_data + "phenotype": phenotype_attach_resources_data, + "system": lambda *args: [], + "group": lambda *args: [] } organised = organise_resources_by_category(resources) with db.cursor(conn) as cursor: -- cgit v1.2.3