gitlab-org--gitlab-foss/spec/requests
Bob Van Landuyt 698515313f Fixes rejected pushes from maintainers
Before the push git would make a call to
`/:namespace/:project/git-receive-pack`. This would perform an access
check without a ref. So the `Project#branch_allows_maintainer_push?`
would return false.

This adjusts `Project#branch_allows_maintainer_push?` to return true
when passing no branch name if there are merge requests open that
would allow the user to push.

The actual check then happens when a call to
`/api/v4/internal/allowed` is made from a git hook.
2018-06-11 17:35:13 +02:00
..
api Merge branch 'rs-update-rspec' into 'master' 2018-06-11 09:59:25 +00:00
projects [Rails5] Rename sort methods to sort_by_attribute 2018-04-04 09:19:47 +00:00
git_http_spec.rb Fixes rejected pushes from maintainers 2018-06-11 17:35:13 +02:00
jwt_controller_spec.rb
lfs_http_spec.rb Support presigned multipart uploads 2018-06-04 13:04:29 +02:00
lfs_locks_api_spec.rb Backport of LFS File Locking API 2018-02-07 09:04:00 -05:00
openid_connect_spec.rb Make all uses of fixture_file_upload use relative paths 2018-06-07 09:54:41 -05:00
rack_attack_global_spec.rb Export assigned issues in iCalendar feed 2018-05-31 14:01:04 +00:00
request_profiler_spec.rb