summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-03 08:29:02 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-03 08:29:02 +0000
commit706a2f6f123509c227c1c3dd24b73d87d05f2ec8 (patch)
tree6fc6e489358d587fb52ab5069144d47cfda5f85b /app
parent7a9b1c4b908ce573ae01f0ee7ef65b9bec6f6f81 (diff)
downloadgitlab-ce-706a2f6f123509c227c1c3dd24b73d87d05f2ec8.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-0-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 a24c0471d6c..8df4fc5e88c 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -463,6 +463,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