Re: [PATCH v4 2/4] Include the responsible actor in applicable events

2019-12-01 Thread Stephen Finucane
On Sun, 2019-12-01 at 02:49 +0100, Johan Herland wrote: > We want to use the events as an audit log. An important part of this is > recording _who_ made the changes that the events represent. > > To accomplish this, we need to know the current user (aka. request.user) > at the point where we creat

[PATCH v4 2/4] Include the responsible actor in applicable events

2019-11-30 Thread Johan Herland
We want to use the events as an audit log. An important part of this is recording _who_ made the changes that the events represent. To accomplish this, we need to know the current user (aka. request.user) at the point where we create the Event instance. Event creation is currently triggered by sig