aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/resources/models.py4
1 files changed, 3 insertions, 1 deletions
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: