From 93fe0dbff25e8b4e0edd24c0611928be951cc9f6 Mon Sep 17 00:00:00 2001 From: Enol Fernandez <enol.fernandez@egi.eu> Date: Thu, 8 Aug 2024 10:21:35 +0100 Subject: [PATCH] Change 403 page --- common/deployments/hub-staging.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml index 921b784..69324ce 100644 --- a/common/deployments/hub-staging.yaml +++ b/common/deployments/hub-staging.yaml @@ -311,4 +311,17 @@ hub: stringData: |- {%- raw %} {% extends "login.html" %} +{% endraw %} + 403.html: + mountPath: /usr/local/share/jupyterhub/templates/403.html + stringData: |- +{%- raw %} + {% extends "error.html" %} + {% block main %} + <div class="error"> + <h1>Unauthorized</h1> + <p>You don't have the correct entitlements to access this service.</p> + <p>If you think you should be granted access, please open an issue!</p> + </div> + {% endblock %} {% endraw %} -- GitLab