Access issue through sling.scripting in aem 6.4
Hi,
We are migrating from AEM 6.2 to 6.4. In 6.2, we are able to access any node under /etc or /content using sling-scripting bundle. but the same is not working in aem 6.4.
Steps to Reproduce the issue:
1. Get the ResourceResolverFactory from "getSling().getService(ResourceResolverFactory.class)"
2. Get the resource resolver and system user from the above factory.
3. Get the resource using "resourceResolver.getResource("/etc/cloudServices") ".
and I have created the system user and gave the access to /etc.