From b426db295cb7a14c587ac57e0a763b743c81b0a6 Mon Sep 17 00:00:00 2001 From: sverhoeven Date: Thu, 27 Jun 2024 16:03:43 +0200 Subject: [PATCH] Allow logins on JupyterHub 5.0 We are using pam auth, so it is ok that everyone with local account can login. See https://jupyterhub.readthedocs.io/en/latest/howto/upgrading-v5.html#authenticator-allow-all-and-allow-existing-users --- roles/grdc/tasks/main.yml | 3 --- roles/jupyter/templates/jupyterhub_config.py.j2 | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/grdc/tasks/main.yml b/roles/grdc/tasks/main.yml index 7a42fe61..728279c9 100644 --- a/roles/grdc/tasks/main.yml +++ b/roles/grdc/tasks/main.yml @@ -37,9 +37,6 @@ loop: '{{ grdc_station_zips }}' - name: archycos include_tasks: archycos.yml -- name: GTN-R - include_tasks: gtnr.yml - loop: '{{ grdc_gtnr }}' - name: researchdrive archives include_tasks: researchdrive.yml loop: '{{ grdc_researchdrive_archives }}' diff --git a/roles/jupyter/templates/jupyterhub_config.py.j2 b/roles/jupyter/templates/jupyterhub_config.py.j2 index d5bf1bcc..af80120a 100644 --- a/roles/jupyter/templates/jupyterhub_config.py.j2 +++ b/roles/jupyter/templates/jupyterhub_config.py.j2 @@ -45,3 +45,5 @@ c.JupyterHub.cleanup_proxy = False c.JupyterHub.base_url = '/jupyter' c.JupyterHub.template_vars = {'announcement_login': 'By logging in you accept the GRDC observation data policy at https://www.bafg.de/GRDC/EN/01_GRDC/12_plcy/data_policy_node.html'} + +c.Authenticator.allow_all = True