08dbd93bd6
This validates the correct abilities for both projects. Only `read_project` isn't enough: For the `source_project` we validate `create_merge_request_from` this also validates that the user has developer access to the project. For the `target_project` we validate `create_merge_reqeust_in` this also validates that the user has access to the project's repository. To avoid generating diffs for unrelated projects we also validate that the projects are in the same fork network now. |
||
---|---|---|
.. | ||
conflicts | ||
add_todo_when_build_fails_service_spec.rb | ||
assign_issues_service_spec.rb | ||
build_service_spec.rb | ||
close_service_spec.rb | ||
create_from_issue_service_spec.rb | ||
create_service_spec.rb | ||
delete_non_latest_diffs_service_spec.rb | ||
ff_merge_service_spec.rb | ||
get_urls_service_spec.rb | ||
merge_service_spec.rb | ||
merge_when_pipeline_succeeds_service_spec.rb | ||
post_merge_service_spec.rb | ||
rebase_service_spec.rb | ||
refresh_service_spec.rb | ||
reload_diffs_service_spec.rb | ||
reopen_service_spec.rb | ||
resolved_discussion_notification_service_spec.rb | ||
squash_service_spec.rb | ||
update_service_spec.rb |