Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-03 11:27:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-03 11:27:55 +0300
commite36433a15c78f372516e106a8e772bf47c8e9769 (patch)
tree50c090b3565fefe43b7e0e4e71d1c15084471ab9 /app
parent086a9faab8bd90f37f9f6be7f8f839a65d388cfa (diff)
Add latest changes from gitlab-org/security/gitlab@12-10-stable-ee
Diffstat (limited to 'app')
-rw-r--r--app/policies/project_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 7454343a357..bddd86d7ada 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -392,6 +392,7 @@ class ProjectPolicy < BasePolicy
rule { repository_disabled }.policy do
prevent :push_code
prevent :download_code
+ prevent :build_download_code
prevent :fork_project
prevent :read_commit_status
prevent :read_pipeline