User impersonation
Admin-only function to temporarily become another user.
This could be realised by setting session['impersonated_user_id']
. set_request_user()
could then set request.user
to the impersonated user as long as the cookie value is present. The logout button could be replaced with a "Stop impersonation" button.