From 8820199881b46d5bc3a9508f53a189c5d15b02f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Tue, 7 Nov 2017 19:28:12 +0100 Subject: Add a spec for Gitlab::Auth when actor is a deploy key that can push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- lib/gitlab/auth.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1