gitlab-org--gitlab-foss/spec
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
..
benchmarks
controllers Merge branch 'impersonate' into 'master' 2015-11-14 09:04:10 +00:00
factories Merge branch 'annotate-models' into 'master' 2015-11-14 08:27:12 +00:00
features Merge branch 'impersonate' into 'master' 2015-11-14 09:04:10 +00:00
finders
fixtures
helpers
javascripts
lib Move spec to proper place and fix unused variable 2015-11-13 09:45:21 +01:00
mailers
models Merge branch 'annotate-models' into 'master' 2015-11-14 08:27:12 +00:00
requests Fix caching breaking test of build artifacts 2015-11-13 14:43:14 +01:00
routing
services Fix broken tests 2015-11-13 10:52:50 +01:00
support
tasks/gitlab
views/help
workers
factories.rb
factories_spec.rb
rails_helper.rb
spec_helper.rb
teaspoon_env.rb