From 518cc6139f2204198922a8fc02c320fad71eeb5d Mon Sep 17 00:00:00 2001 From: Lena Maldacker Date: Thu, 14 Sep 2023 10:41:41 +0200 Subject: [PATCH 1/2] DM-462: Remove red-get-tables from RED_USER --- src/main/resources/application-documine.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-documine.yaml b/src/main/resources/application-documine.yaml index 3c0c003..d2f80a3 100644 --- a/src/main/resources/application-documine.yaml +++ b/src/main/resources/application-documine.yaml @@ -22,7 +22,7 @@ fforesight: - name: RED_USER set-by-default: true rank: 100 - permissions: [ "red-get-tables", "red-get-rss", "red-add-comment", "red-read-license", "red-read-app-configuration", "red-read-dossier-status", "red-add-dossier-dictionary-entry", "red-add-redaction", "red-add-update-dossier-dictionary-type", + permissions: [ "red-get-rss", "red-add-comment", "red-read-license", "red-read-app-configuration", "red-read-dossier-status", "red-add-dossier-dictionary-entry", "red-add-redaction", "red-add-update-dossier-dictionary-type", "red-delete-comment", "red-delete-dossier-dictionary-entry", "red-delete-dossier-dictionary-type", "red-delete-file", "red-delete-manual-redaction", "red-download-annotated-file", "red-download-original-file", "red-download-redacted-file", "red-download-redaction-preview-file", "red-download-report-template", "red-exclude-include-file", "red-exclude-include-pages", "red-get-report-templates", "fforesight-manage-user-preferences", "red-manage-viewed-pages", "red-process-download", "red-process-manual-redaction-request", From d23fbc54f81a90072361a846bd62319625409805 Mon Sep 17 00:00:00 2001 From: Lena Maldacker Date: Thu, 14 Sep 2023 11:09:51 +0200 Subject: [PATCH 2/2] DM-462: Add red-get-tables to unmappedPermissions --- src/main/resources/application-documine.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-documine.yaml b/src/main/resources/application-documine.yaml index d2f80a3..14c3aa7 100644 --- a/src/main/resources/application-documine.yaml +++ b/src/main/resources/application-documine.yaml @@ -8,7 +8,7 @@ fforesight: default-theme: 'scm' valid-redirect-uris: [ '/redaction-gateway-v1/*','/tenant-user-management/*','http://localhost:4200/*','/ui/*' ,'/auth/*' ] kc-role-mapping: - unmappedPermissions: [ "red-unarchive-dossier", "red-update-license", "fforesight-create-tenant", "fforesight-update-tenant" ] + unmappedPermissions: [ "red-get-tables", "red-unarchive-dossier", "red-update-license", "fforesight-create-tenant", "fforesight-update-tenant" ] compositeRoles: - name: RED_MANAGER composites: