From 637b0208420d3255c459a265409f8fb9654b16d6 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Tue, 26 Sep 2023 14:58:53 +0200 Subject: [PATCH] Use env ribbon --- client/public/index.html | 1 + client/src/index.scss | 18 ++++++++++ .../access/api/EnvironmentController.java | 33 +++++++++++++++++++ .../java/access/security/SecurityConfig.java | 1 + server/src/main/resources/application.yml | 5 +++ 5 files changed, 58 insertions(+) create mode 100644 server/src/main/java/access/api/EnvironmentController.java diff --git a/client/public/index.html b/client/public/index.html index e27b4b68..46212e89 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -5,6 +5,7 @@ + c .requestMatchers( "/api/v1/csrf", + "/api/v1/disclaimer", "/api/v1/users/config", "/api/v1/users/logout", "/api/v1/invitations/public", diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 59565cd2..cbffc37e 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -82,6 +82,11 @@ institution-admin: entitlement: "urn:mace:surfnet.nl:surfnet.nl:sab:role:SURFconextverantwoordelijke" organization-guid-prefix: "urn:mace:surfnet.nl:surfnet.nl:sab:organizationGUID:" +gui: + disclaimer: + background-color: red + content: LOCAL + config: client-url: "http://localhost:3000" welcome-url: "http://localhost:4000"