diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2017-10-05 10:00:21 +0200 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-02-28 09:50:50 +0100 |
commit | 183bfc5f0bdcd3881820a5ab2d06664b060c52d8 (patch) | |
tree | 612fc91adf0ced48c5745b10f0222ebfadac5701 | |
parent | 29ffd2ecf4885c8645a12a36b36f1a662bb98394 (diff) | |
download | gitlab-ce-183bfc5f0bdcd3881820a5ab2d06664b060c52d8.tar.gz |
fixup! authorize group runners on user
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 1c34a229a95..37fbccddbbb 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -998,7 +998,7 @@ class User < ActiveRecord::Base union = Gitlab::SQL::Union.new([project_runner_ids, group_runner_ids]) - Ci::Runner.specific.where("ci_runners.id IN (#{union.to_sql})") + Ci::Runner.specific.where("ci_runners.id IN (#{union.to_sql})") # rubocop:disable GitlabSecurity/SqlInjection end end |