alphagov/whitehall — pull request #1749 by danielroseman (2014-10-03 08:38:07+00:00)
Title: Fix wrong calculation of user who submitted an edition

A bug was introduced in change c3bd940 (publish permission based on submitter not creator) which meant that if a reviewing user editing a submitted edition, they were wrongly shown as the submitter and could therefore not publish or schedule the edition.

This change correctly works out the submitting user even if there are subsequent updates while in submitted state.