Looking to setup a dispatcher in front of AEM author to show pages with wcmmode=disabled
I am looking for a way to preview unpublished pages on an author and view them in wcmmode = disabled so someone without AEM access can view a page in progress before it's published.
One of the approaches I have heard of is to put a dispatcher in front of the author instance and set headers to pass wcmmode=disabled and set a remote_user to some ID that has read only access to content.
Has anyone done that? I have tried all sorts of things to pass these parameters as request headers/parameter from dispatcher to author instance but nothing works. Can someone point me in the right direction and either validate or shoot down this approach?
thanks