From 90c159f52df8aaed2cc4fb1cc957f30ccf4fa593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominique=20Eifl=C3=A4nder?= Date: Tue, 28 Nov 2023 12:48:37 +0100 Subject: [PATCH] RED-7962: Added missing unmapped role red-experimental --- publish-custom-image.sh | 8 ++++++++ src/main/resources/application-redaction.yaml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 publish-custom-image.sh diff --git a/publish-custom-image.sh b/publish-custom-image.sh new file mode 100755 index 0000000..2569858 --- /dev/null +++ b/publish-custom-image.sh @@ -0,0 +1,8 @@ +#!/bin/bash +dir=${PWD##*/} +gradle assemble + +buildNumber=${1:-1} + +gradle bootBuildImage --cleanCache --publishImage -PbuildbootDockerHostNetwork=true -Pversion=$USER-$buildNumber +echo "nexus.knecon.com:5001/ff/${dir}:$USER-$buildNumber" diff --git a/src/main/resources/application-redaction.yaml b/src/main/resources/application-redaction.yaml index 072ce37..5838fba 100644 --- a/src/main/resources/application-redaction.yaml +++ b/src/main/resources/application-redaction.yaml @@ -8,7 +8,7 @@ fforesight: default-theme: 'redaction' valid-redirect-uris: [ '/api/*','/redaction-gateway-v1/*','/tenant-user-management/*','http://localhost:4200/*','/ui/*' ,'/auth/*'] kc-role-mapping: - unmappedPermissions: [ "red-unarchive-dossier", "red-update-license", "red-get-rss","fforesight-create-tenant", "fforesight-update-tenant" ] + unmappedPermissions: [ "red-unarchive-dossier", "red-update-license", "red-get-rss","fforesight-create-tenant", "fforesight-update-tenant", "red-experimental" ] compositeRoles: - name: RED_MANAGER composites: