Move push size check to EE module
# Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb
This commit is contained in:
parent
48ca2dc6e1
commit
8c2172f215
|
@ -261,8 +261,6 @@ module Gitlab
|
|||
raise UnauthorizedError, ERROR_MESSAGES[:upload]
|
||||
end
|
||||
|
||||
return if changes.blank? # Allow access this is needed for EE.
|
||||
|
||||
check_change_access!
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue