leapcode/leap_web — pull request #174 by azul (2014-07-05 11:15:20+00:00)
Title: Admin navigates all tickets - fixes #5879

Includes commits from #173. So please review after that has been merged. Will make it easier.

Setting @user always made the admin navigation on the tickets overview link to the admins tickets.

Instead now we only allow setting @user to something else than current_user if the user is an admin. It can be blank (all tickets) or any user in that case.