From 323847aa519d3d1ecc03e202d84500a78a02c6aa Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Mon, 1 Jul 2019 11:18:38 +0300 Subject: [PATCH] Validate user groups --- tljh/jupyterhub_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tljh/jupyterhub_config.py b/tljh/jupyterhub_config.py index 325d9c6..8ffecc7 100644 --- a/tljh/jupyterhub_config.py +++ b/tljh/jupyterhub_config.py @@ -21,7 +21,7 @@ class UserCreatingSpawner(SystemdSpawner): FIXME: Remove this somehow? """ - user_groups = Dict(config=True) + user_groups = Dict(key_trait=Unicode(), value_trait=List(Unicode(), config=True)) def start(self): """