summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-12-06 17:04:34 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-12-14 10:21:09 +0100
commit08dbd93bd6e08bca179567a3c020b8fac5139b49 (patch)
tree688b1e4398b7eb8e78f37486e74fa0c01a6be279 /bin
parent352af3e57220e3f0178da8de2c3f03c42c419a9b (diff)
downloadgitlab-ce-08dbd93bd6e08bca179567a3c020b8fac5139b49.tar.gz
Validate projects in MR build service
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.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions