A developer is using sling context-aware configuration trying to get the configuration resource using:

This works as intended in author and in publish when logged in lo publish as admin. However this gives a null when run as anonymous. Which method is going to fix the issue?
Submit