On the unit page we render all editing actions, and then they are disabled by the CSS when the publish status is 'public'.