From 4d879bacc0bd0fda67a991a508418e5cdca3f1c9 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Fri, 22 Mar 2024 15:04:17 +0100 Subject: [PATCH] #3284 - Allow anonymous to read redirect caconfig options (#3289) * #3284 allow anonymus to read redirect caconfig options --------- Co-authored-by: david g --- CHANGELOG.md | 1 + ...ing.jcr.repoinit.RepositoryInitializer-acs-commons-all.config | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6253544c0..cf4f5ae94c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com) - #3270 - Re-enable accidentally disabled JUnit3/4 tests - #3200 - Remove useless public interface in Cloud Bundle to get javadocs to be built +- #3284 - Allow anonymous to read redirect caconfig options ## 6.4.0 - 2024-02-22 diff --git a/all/src/main/content/jcr_root/apps/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-acs-commons-all.config b/all/src/main/content/jcr_root/apps/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-acs-commons-all.config index 1dec5e6dc5..1d9d7c13d1 100644 --- a/all/src/main/content/jcr_root/apps/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-acs-commons-all.config +++ b/all/src/main/content/jcr_root/apps/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-acs-commons-all.config @@ -44,6 +44,7 @@ end # web requests need read access to redirect configurations, e.g. /conf/global/settings/redirects set ACL for anonymous allow jcr:read on /conf restriction(rep:glob,/*/settings/redirects) + allow jcr:read on /conf restriction(rep:glob,/*/settings/redirects/*) end create service user acs-commons-automatic-package-replicator-service with path system/acs-commons