Solved
Repoinit script
I've created a Repoinit script using an OSGi Service Factory Configuration. I've successfully deployed the OSGi configuration containing the Repoinit script and I can see it under /system/console/configMgr, but the rep:policy isn't created in the DAM as expected. Can someone please provide guidance?
<?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"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="sling:OsgiConfig"
repoinit.content='{
"scripts": [
"set ACL for path /content/dam/advisor/ deny jcr:all on granted group everyone",
"set ACL for path /content/dam/advisor/ allow jcr:read on granted group jhi-employee",
]
}'/>