If the user access

If the user access to the course overview page as a logged out user, the course structure only displays the units, not the pages and modules as displayed when the user is logged in.

Also, we cannot preview the units while logged out, it works fine when logged in.