Admin users page doesn't allow you to delete users
Summary
The admin users page should present a 'Delete' entry behind the 'cog' for each user in the list, but it doesn't
Steps to reproduce
- Navigate to http://localhost:3000/admin/users
- Click any cog to get the dropdown
What is the current bug behavior?
No 'delete' entry
What is the expected correct behavior?
'Delete' entry
Relevant logs and/or screenshots
Possible fixes
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/views/admin/users/_user.html.haml#L37 uses @user
when it should probably use user
. We're also lacking a test that ensures the delete option is available.