mysociety/alaveteli — pull request #669 by mlandauer (2012-10-18 08:36:36+00:00)
Title: Admin user history fix

On our current setup of Alevetli when an admin user makes a change and you look at it in the admin interface it doesn't correctly record the user that made the change.

I looked a little deeper and saw that there was a bunch of stuff going on where the admin user name was being passed around in the headers or something and apache rewrite rules had to be setup to handle this.

I found it all a bit confusing.

So, this patch does the simple thing and stores the admin user name in the session just like the user_id is stored in the session.

As far as I can tell this works