gitlab-org--gitlab-foss/lib
Rémy Coutable 2f45d3bcf0 API: Memoize the current_user so that the sudo can work properly
The issue was arising when `#current_user` was called a second time
after a user was impersonated: the `User#is_admin?` check would be
performed on it and it would fail.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-12 13:50:31 +01:00
..
api API: Memoize the current_user so that the sudo can work properly 2016-12-12 13:50:31 +01:00
assets
backup Fix Backup::Manager#remove_old 2016-12-07 13:27:44 +00:00
banzai Add shorthand support to gitlab markdown references 2016-12-02 19:18:17 -02:00
ci
constraints Add nested groups support on data level 2016-12-08 11:47:16 +02:00
container_registry
generators/rails/post_deployment_migration
gitlab Merge branch 'features/api-snippets' into 'master' 2016-12-12 08:58:13 +00:00
json_web_token
mattermost
omni_auth
rouge/formatters
support
tasks
banzai.rb
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb Add issue events filter and make sure "All" really shows everything 2016-12-04 23:07:22 +01:00
expand_variables.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb