Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2589 - Fixes issues with 6.4.8 compat #2590

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Fixed
- #2581 - Versioned ClientLibs no longer works with proxied clientlibs
- #2562 - Fixed cache refresh on versioned clientlibs request when enforceMd5 is false (default).
- #2590- Fixed issue on 6.4.x with Service User mappings not being registered due to unsupported filename format of OSGi config.

### Added
- #2536 - Extended renovator MCP Process to handle audit trail entries of moved assets and pages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ create path /content/cq:tags(sling:Folder)
create path /etc/packages(sling:Folder)

# create default contextual configuration for redirects: /conf/global/settings/redirects
create path /conf/global(sling:Folder)/settings(sling:Folder)/redirects(nt:unstructured)
set properties on /conf/global/settings/redirects
set sling:resourceType{String} to acs-commons/components/utilities/manage-redirects/redirects
end
create path /conf/global(sling:Folder)
create path /conf/global/settings(sling:Folder)
create path /conf/global/settings/redirects(nt:unstructured)

# Not supported in 6.4.8
#set properties on /conf/global/settings/redirects
# set sling:resourceType{String} to acs-commons/components/utilities/manage-redirects/redirects
#end

# user to invalidate cached redirects on change
create service user acs-commons-manage-redirects-service with path system/acs-aem-commons
set ACL for acs-commons-manage-redirects-service
allow jcr:read on /
allow jcr:read on /conf
end

Expand Down Expand Up @@ -41,12 +47,6 @@ set ACL for acs-commons-remote-assets-service
# If /etc/tags is used, these ACLs be set manually - if RepoInit defines this structure, it supersedes the use of /content/cq:tags
# allow jcr:read, jcr:versionManagement, rep:write, crx:replicate on /etc/tags
end

create service user acs-commons-manage-redirects-service with path system/acs-aem-commons
HitmanInWis marked this conversation as resolved.
Show resolved Hide resolved
set ACL for acs-commons-manage-redirects-service
allow jcr:read on /
end

"
]

3 changes: 3 additions & 0 deletions ui.content/src/main/content/META-INF/vault/filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<filter root="/conf/rep:policy"/>
<filter root="/content/dam/rep:policy"/>
<filter root="/content/rep:policy"/>
<filter root="/conf/global/settings">
<include pattern="/conf/global/settings/redirects"/>
</filter>
<filter root="/etc/acs-commons">
<include pattern="/etc/acs-commons/jcr:content"/>
<include pattern="/etc/acs-commons/automatic-package-replication"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="nt:unstructured"
sling:resourceType="acs-commons/components/utilities/manage-redirects/redirects"/>