diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-26 17:29:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-26 17:29:59 +0300 |
commit | 5bc4a1efecfffbd467d7e2e2f42f3f1bf6e6f030 (patch) | |
tree | 81f5111534cc56919e4aeb453fc65462e596b56d /lib/api | |
parent | df400447bfd5c650b32cc8d75fa80f8cc7099d94 (diff) |
Add latest changes from gitlab-org/security/gitlab@13-0-stable-ee
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 732453cf1c4..f305da681c4 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -444,6 +444,8 @@ module API not_found!("Source Project") unless fork_from_project + authorize! :fork_project, fork_from_project + result = ::Projects::ForkService.new(fork_from_project, current_user).execute(user_project) if result |