Hi All,\
We are facing an issue in the dev environment, where repoint script is not working.
We have productfeed folder created inside /etc, now the scheduler has been created to save in this path.
but it is not working in dev environment.
I have added a configuration-
org.apache.sling.jcr.repoinit.RepositoryInitializer-project.config
scripts=[
"
create service user systemuser
set ACL for systemuser
allow jcr:read on /etc restriction(rep:glob,/productfeed)
allow jcr:write on /etc restriction(rep:glob,/productfeed)
end
"
]
Thanks,
Prince
Solved! Go to Solution.
Can you add the below to org.apache.sling.jcr.repoinit.RepositoryInitializer-myproject.config and try?
scripts=["
create service user systemuser
set ACL on /etc/myfolder
allow jcr:read for systemuser
allow jcr:write for systemuser
end
"]
Thanks!
Can you add the below to org.apache.sling.jcr.repoinit.RepositoryInitializer-myproject.config and try?
scripts=["
create service user systemuser
set ACL on /etc/myfolder
allow jcr:read for systemuser
allow jcr:write for systemuser
end
"]
Thanks!
Hi @Prince_Shivhare , @Asutosh_Jena_
kindly help me on the below.
configuration:
create service user testsystemuser
set ACL on /apps,/var,/content
allow jcr:all for testsystemuser
end
but getting the below error while hitting my class. But can able to see the permissions & config. PFB screenshot.
Note: I'm doing this configuration to deploy it to higher environments.
org.apache.sling.api.resource.LoginException: Cannot derive user name for bundle com.test.core [572] and sub service testsystemuser