Merge branch 'master' into api/system_hooks_adjustments
This commit is contained in:
commit
562de2a438
2 changed files with 52 additions and 28 deletions
|
@ -20,6 +20,9 @@ module Gitlab
|
|||
project == key.project && git_cmd == 'git-upload-pack'
|
||||
else
|
||||
user = key.user
|
||||
|
||||
return false if user.blocked?
|
||||
|
||||
action = case git_cmd
|
||||
when 'git-upload-pack'
|
||||
then :download_code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue