diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-02 12:27:21 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-02 12:51:29 +0300 |
commit | b3e058996c70aeae6f00cad7195bce421e02b39b (patch) | |
tree | a6185dd806cf86d68f12e9a81ecbde8921bc2a8d /lib/gitlab/auth.rb | |
parent | 1cdc76f4559ff6d1ee0a1e6f277923094bff6f6c (diff) |
Cleanup tests and add admin_container_image to
full_authentication_abilities. This is fine because
we're going to check with can?(..) anyway
Diffstat (limited to 'lib/gitlab/auth.rb')
-rw-r--r-- | lib/gitlab/auth.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index 9bed81e7327..7d3aa532750 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -218,7 +218,8 @@ module Gitlab def full_authentication_abilities read_authentication_abilities + [ :push_code, - :create_container_image + :create_container_image, + :admin_container_image ] end alias_method :api_scope_authentication_abilities, :full_authentication_abilities |