We sre trying to use the Asset Share functionality on a publisher instance. We are seeing errors when we try to use the Lightbox functionality on the AssetShare page or viewing an asset in the assetviewer page. Here is the exception:
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.addNode(NodeImpl.java:263) at com.day.cq.dam.core.impl.lightbox.LightboxServiceImpl.getLightbox(LightboxServiceImpl.jav a:91)
The problem is that the lightbox functionality is trying to add some nodes to the repository (which is a really bad design ...), and this does not work on publish in the anonymous case (because the anonymous user does not have write permissions to the repo, which is default; do not change!)
I would assume that the lightbox functionality is barely been tested on publish instances with anon users. Are you using asset share commons?
We have faced similar issue for Design Importer pages. when our content authors tried to upload a zip file it showed Repository Exception. When tried it with admin user it works. Have examined the logs and figured out that when we use impoter pages it will create intermediate node inside "/apps". We usually don't give write permissions to /apps folder for content authors. for now we have amended write access to /apps for groups.
javax.jcr.AccessDeniedException: Access denied.
at org.apache.jackrabbit.oak.jcr.security.AccessManager.checkPermissions(AccessManager.java: 71)