From ae385ebd3a2d83b4869c854efa788a142056c81c Mon Sep 17 00:00:00 2001 From: Jesus Balderrama Date: Thu, 23 Apr 2026 15:26:17 -0600 Subject: [PATCH 1/2] fix: replaced space for + char to render the filter correctly in the UI --- src/authz-module/authz-home/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authz-module/authz-home/index.tsx b/src/authz-module/authz-home/index.tsx index 27a1a7fd..68a8f4b5 100644 --- a/src/authz-module/authz-home/index.tsx +++ b/src/authz-module/authz-home/index.tsx @@ -12,7 +12,7 @@ const AuthzHome = () => { const { hash } = useLocation(); const intl = useIntl(); const [searchParams] = useSearchParams(); - const presetScope = searchParams.get('scope') || undefined; + const presetScope = searchParams.get('scope')?.replace(/\s/g, '+') || undefined; const pageTitle = intl.formatMessage(messages['authz.manage.page.title']); From 8ca8dbfd3881615a3008da20d5c50860d50eca1a Mon Sep 17 00:00:00 2001 From: Jesus Balderrama Date: Tue, 28 Apr 2026 09:18:22 -0600 Subject: [PATCH 2/2] chore: comment added to scope param --- src/authz-module/authz-home/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/authz-module/authz-home/index.tsx b/src/authz-module/authz-home/index.tsx index 68a8f4b5..32fd4865 100644 --- a/src/authz-module/authz-home/index.tsx +++ b/src/authz-module/authz-home/index.tsx @@ -12,6 +12,10 @@ const AuthzHome = () => { const { hash } = useLocation(); const intl = useIntl(); const [searchParams] = useSearchParams(); + + /* In the authoring repository the scope is encoded but this is to Replace spaces with '+' + to match URL encoding format in case the 'scope' parameter is provided with spaces instead of '+' + */ const presetScope = searchParams.get('scope')?.replace(/\s/g, '+') || undefined; const pageTitle = intl.formatMessage(messages['authz.manage.page.title']);