TireSwingSoftware/openassign-server — Issue #106: Assignment status_change_log cites incorrect creator
Author: mhrivnak
Created: 2012-02-23 07:36:04+00:00
State: open
Labels: behavior

The log always cites the assigned user as the creator of the assignment, which is not always true. Sometimes an admin will create the assignments.

The current user's AuthToken (and thus their User object) can be obtained from thread-local storage.

https://github.com/TireSwingSoftware/openassign-server/blob/ddad31093c3820192ac5ce3f6ce6491acdb4b5e1/pr_services/pr_models.py#L1199