Unpublished Post should not be accessible

fixes #1162