Issue #1354580 by bforchhammer, yched: Fixed unpublished referenced nodes not displayed to users that are allowed to see them (regression in 2.0)