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 Improve abuse reports management 2015-08-25 10:52:10 +02:00
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 Small improvements to CI 2015-01-17 16:17:34 -08:00
background_jobs_controller.rb Use Gitlab.config instead of Settings everywhere 2014-10-15 23:01:31 +02:00
broadcast_messages_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
dashboard_controller.rb Explicitly define ordering in models using default_scope 2015-02-05 14:20:55 -08:00
deploy_keys_controller.rb Remove show actions from Admin and Project DeployKeys 2015-06-03 18:03:04 -04:00
groups_controller.rb Wrap group removal into service 2015-06-03 14:07:20 +02:00
hooks_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
identities_controller.rb Fix admin identities code 2015-06-23 10:26:50 +02:00
impersonation_controller.rb refactor login as to be impersonation with better login/logout 2015-10-29 11:00:17 +01:00
keys_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
labels_controller.rb added spinach for glabal labels 2015-09-03 19:02:14 +03:00
logs_controller.rb Added the correct hierarchy of controllers for the administrative part 2013-01-24 22:31:24 +02:00
projects_controller.rb Allow listing of archived projects 2015-08-19 13:46:59 +02:00
services_controller.rb Improve invalidation of stored service password if the endpoint URL is changed 2015-10-15 12:07:59 +02:00
users_controller.rb refactor login as to be impersonation with better login/logout 2015-10-29 11:00:17 +01:00