diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-07 19:28:12 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-11-08 10:58:42 +0100 |
commit | 8820199881b46d5bc3a9508f53a189c5d15b02f4 (patch) | |
tree | ba2bb2ac9c00c48affd2c1d1bbed112363615aa8 /lib | |
parent | 4f06648065ffd06aba5172db087be336af2925a3 (diff) | |
download | gitlab-ce-sh-fix-lfs-write-deploy-keys.tar.gz |
Add a spec for Gitlab::Auth when actor is a deploy key that can pushsh-fix-lfs-write-deploy-keys
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index 3f981314c80..cbbc51db99e 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -218,9 +218,7 @@ module Gitlab end def full_authentication_abilities - read_authentication_abilities + [ - :push_code, - :create_container_image, + read_write_authentication_abilities + [ :admin_container_image ] end |