Solved
How to allow/deny access to a libs path in aem as a cloud
I am trying to deny access on a libs path (/libs/cq/core/content/nav/tools/security) using the repoinit and it's working fine on the local SDK but failing the pipeline on the cloud. Any recommendation on how to fix it?
Use case : "test-demo" Group is created in admin console and synced to AEM so group already exists in AEM.
The below code is adding to "org.apache.sling.jcr.repoinit.RepositoryInitializer~projectName.cfg.json" :
{
"scripts":[
"set ACL on /libs/cq/core/content/nav/tools/security\r\n deny jcr:read for \"test-demo\"\r\nend"
]
}
It works fine on my local but failing a pipeline on cloud. Any recommendations?