• Sean McGivern's avatar
    Fix access checks for rebasing an MR · 334d4b1c
    Sean McGivern authored
    This has been broken since 34457b30, when the feature was implemented: a user
    who can merge the MR may not have access to push to the source branch, and vice
    versa.
    
    This makes the backend check the correct thing (which the UI already did):
    whether the user can push to the source branch.
    334d4b1c
merge_requests_controller.rb 1.87 KB