Re: [PATCH 2/3] Include the responsible user in patch-related events

2019-10-07 Thread Johan Herland
On Mon, Oct 7, 2019 at 6:06 PM Stephen Finucane wrote: > On Mon, 2019-10-07 at 00:57 +0200, Johan Herland wrote: > > We want to use the events as an audit log of patch state/delegate > > changes. An important part of this is recording _who_ changed the > > patch state/delegate. > > > > To do this,

Re: [PATCH 2/3] Include the responsible user in patch-related events

2019-10-07 Thread Stephen Finucane
On Mon, 2019-10-07 at 00:57 +0200, Johan Herland wrote: > We want to use the events as an audit log of patch state/delegate > changes. An important part of this is recording _who_ changed the > patch state/delegate. > > To do this, we need to know the active user (request.user) at the > point wher

[PATCH 2/3] Include the responsible user in patch-related events

2019-10-06 Thread Johan Herland
We want to use the events as an audit log of patch state/delegate changes. An important part of this is recording _who_ changed the patch state/delegate. To do this, we need to know the active user (request.user) at the point where we create the Event instance. Event creation is currently triggere