gitlab-org--gitlab-foss/app/controllers/admin
Dmitriy Zaporozhets aec9f211e5 Merge branch 'impersonate' into 'master'
refactor login as to be impersonation with better login/logout

Modifies the existing "login as" feature to be called impersonation.

This also adds:

* Application keep track of who is impersonating the user so they can revert back to the original user without having to log out.
* Stores the user profile via `HTTP_REFERER` so you get redirected back to the person you have impersonated once you stop.

## Screenshots:

![](http://sindacio.us/i/2015-10-28_17-52-41.png)
![](http://sindacio.us/i/2015-10-28_17-53-08.png)

See merge request !1702
2015-11-14 09:04:10 +00:00
..
abuse_reports_controller.rb
application_controller.rb refactor login as to be impersonation with better login/logout 2015-10-29 11:00:17 +01:00
application_settings_controller.rb Implement Build Artifacts 2015-11-10 12:51:50 +01:00
applications_controller.rb
background_jobs_controller.rb
broadcast_messages_controller.rb
dashboard_controller.rb
deploy_keys_controller.rb
groups_controller.rb
hooks_controller.rb
identities_controller.rb
impersonation_controller.rb refactor login as to be impersonation with better login/logout 2015-10-29 11:00:17 +01:00
keys_controller.rb
labels_controller.rb
logs_controller.rb
projects_controller.rb
services_controller.rb
users_controller.rb refactor login as to be impersonation with better login/logout 2015-10-29 11:00:17 +01:00