Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I need to display published as well as unpublished content for all the authenticated users. Also, site also has workbench moderation module enabled.
I have tried by pass access control permission, view unpublished contrib module.
In your view's settings under Other, click Query settings and check Disable SQL rewriting.
This disables node access checks so be sure to set up the view carefully.
Add Permission - Workbench Moderation : View all unpublished content.
Required, but never shown