diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-18 21:06:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-18 21:06:53 +0300 |
commit | 143f196f8b3c40ceb7e9335a8dcc712b079519b9 (patch) | |
tree | 909df13e1f99b456287934741ba466b506e01129 /app/workers/gitlab_shell_worker.rb | |
parent | 575ccb036ea14c6a899482a83bd985ffbc992077 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/gitlab_shell_worker.rb')
-rw-r--r-- | app/workers/gitlab_shell_worker.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/workers/gitlab_shell_worker.rb b/app/workers/gitlab_shell_worker.rb index 5dcf901e041..57e64570c09 100644 --- a/app/workers/gitlab_shell_worker.rb +++ b/app/workers/gitlab_shell_worker.rb @@ -8,6 +8,8 @@ class GitlabShellWorker latency_sensitive_worker! def perform(action, *arg) - gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend + Gitlab::GitalyClient::NamespaceService.allow do + gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend + end end end |