From 564ae10d437936ce4c88d61d3aba035e87d89648 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sun, 10 Mar 2024 10:20:03 +0100 Subject: [PATCH] fix(auth): Set required attribute "university" for all auto-populated keycloak accounts (#1307) Resolves #1299 --- .../loculus/templates/keycloak-config-map.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/kubernetes/loculus/templates/keycloak-config-map.yaml b/kubernetes/loculus/templates/keycloak-config-map.yaml index df6f7622b..6a4349f90 100644 --- a/kubernetes/loculus/templates/keycloak-config-map.yaml +++ b/kubernetes/loculus/templates/keycloak-config-map.yaml @@ -32,6 +32,9 @@ data: "user", "offline_access" ], + "attributes": { + "university": "University of Test" + }, "clientRoles": { "account": [ "manage-account" @@ -56,6 +59,9 @@ data: "user", "offline_access" ], + "attributes": { + "university": "University of Test" + }, "clientRoles": { "account": [ "manage-account" @@ -78,6 +84,9 @@ data: "user", "offline_access" ], + "attributes": { + "university": "University of Test" + }, "clientRoles": { "account": [ "manage-account" @@ -100,6 +109,9 @@ data: "preprocessing_pipeline", "offline_access" ], + "attributes": { + "university": "University of Test" + }, "clientRoles": { "account": [ "manage-account" @@ -122,6 +134,9 @@ data: "get_released_data", "offline_access" ], + "attributes": { + "university": "University of Test" + }, "clientRoles": { "account": [ "manage-account" @@ -134,6 +149,9 @@ data: "email": "nothing@void.o", "firstName": "Backend", "lastName": "Technical-User", + "attributes": { + "university": "University of Test" + }, "credentials": [ { "type": "password",