[
https://wcm-io.atlassian.net/browse/WCON-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21333#comment-21333 ]
Pablo Castelo commented on WCON-85:
-----------------------------------
Not sure if should be modified by Adobe because in an OOtB instance that permission is not needed. That’s the reason because I open the ticket here.
To fix it it’s quite straightforward, just include the configuration in the package
*org.apache.sling.jcr.repoinit.RepositoryInitializer~reference-adjustment.config*
it should contain the OOtB rows and the custom one that we need
scripts=\[
"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:read,jcr:modifyProperties\\ on\\ /content\\ restriction(rep:glob,/_/jcr:content)\\r\\nend",_
_"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:read,jcr:modifyProperties\\ on\\ /content\\ restriction(rep:glob,/_/jcr:content/_)\\r\\nend",_
_"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:read\\ on\\ /etc\\r\\nend",_
_"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:modifyProperties\\ on\\ /etc\\ restriction(rep:glob,/_/jcr:content)\\r\\nend",
"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:modifyProperties\\ on\\ /etc\\ restriction(rep:glob,/_/jcr:content/_)\\r\\nend",
"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ rep:write\\ on\\ /content/usergenerated\\r\\nend",
"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:read,jcr:modifyProperties\\ on\\ /content/dam/collections\\r\\nend",
"set\\ ACL\\ for\\ reference-adjustment-service\\r\\nallow\\ jcr:read,jcr:modifyProperties\\ on\\ /conf\\ \\r\\nend", \\
]