diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 15:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 15:08:36 +0300 |
commit | 4720346c2e10e1ff62a20b39dfc9866eb88858e6 (patch) | |
tree | 1b277cb86d928b3372a714d21b5e068c5b9d66f1 /app/services | |
parent | 028c7bdc315c3770f2ccc86f1100d90a5f702cad (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/job_token_scope/add_project_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/job_token_scope/add_project_service.rb b/app/services/ci/job_token_scope/add_project_service.rb index 4f745042f07..704aa28f8c5 100644 --- a/app/services/ci/job_token_scope/add_project_service.rb +++ b/app/services/ci/job_token_scope/add_project_service.rb @@ -5,7 +5,7 @@ module Ci class AddProjectService < ::BaseService include EditScopeValidations - def execute(target_project, direction: :outbound) + def execute(target_project, direction: :inbound) validate_edit!(project, target_project, current_user) link = allowlist(direction) |