Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM as a cloud System user

Prince_Shivhare
Community Advisor
Community Advisor

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

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @Prince_Shivhare 

 

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!

View solution in original post

1 Reply
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @Prince_Shivhare 

 

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!

View solution in original post