From 00b15593cff8339f87ccbd4dc0d0b0380c67fcf8 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 f2eb7e5..5c758b1 100644 --- a/common/deployments/hub-staging.yaml +++ b/common/deployments/hub-staging.yaml @@ -313,4 +313,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