diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-12-06 17:04:34 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-12-14 10:21:09 +0100 |
commit | 08dbd93bd6e08bca179567a3c020b8fac5139b49 (patch) | |
tree | 688b1e4398b7eb8e78f37486e74fa0c01a6be279 /bin | |
parent | 352af3e57220e3f0178da8de2c3f03c42c419a9b (diff) | |
download | gitlab-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