gitlabhq/gitlabhq — pull request #6025 by jvanbaarsen (2014-01-11 13:57:14+00:00)
Title: Fix for edit user as admin

* It fixes an issue where you where able to remove your own
admin rights. This would result in a 404 error. fixes: #2283
* It fixes an issue where you would be able to block your own
account on the edit page. This fix makes the behaviour the same
as on the admin/users overview page