From aa619e9012ba33df0a46e0d83b3cd63ffc8ef824 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Wed, 12 Jul 2023 22:49:16 +0300 Subject: [PATCH] added taas profile --- src/main/resources/application-taas.yaml | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/resources/application-taas.yaml diff --git a/src/main/resources/application-taas.yaml b/src/main/resources/application-taas.yaml new file mode 100644 index 0000000..9a656a1 --- /dev/null +++ b/src/main/resources/application-taas.yaml @@ -0,0 +1,30 @@ +fforesight: + tenant-user-management: + application-client-id: 'taas' + application-name: 'TaaS' + client-id: 'manager' + tenant-access-token-life-span: 3000 + realm: master + default-theme: 'scm' + valid-redirect-uris: [ '/taas-search/*','/tenant-user-management/*','http://localhost:4200/*','/ui/*' ,'/auth/*','/taas-persistence' ] + kc-role-mapping: + roles: + - name: SUPER_USER + set-by-default: true + rank: 100 + permissions: + - 'fforesight-read-general-configuration' + - 'fforesight-write-general-configuration' + - 'fforesight-manage-user-preferences' + - 'fforesight-read-users' + - 'fforesight-read-all-users' + - 'fforesight-write-users' + - 'fforesight-update-my-profile' + - 'fforesight-create-tenant' + - 'fforesight-get-tenants' + - 'fforesight-deployment-info' + - 'fforesight-read-smtp-configuration' + - 'fforesight-write-smtp-configuration' + springdoc: + default-tenant: 'taas' +