WCM Commons System Configuration
Service user configuration
The Component Property Resolver
WCM Commons requires a service user mapping for accessing component properties in the /apps folder.
Create a service user mapping for the factory configuration org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended with an entry like this:
The service user sling-scripting that comes with AEM can be used for this.
This configuration is required on both author and publish instances.