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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-04 16:41:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-04 16:41:07 +0300
commit4f791ec8bd51d2bacada5ba48334c16076cf91b8 (patch)
tree89c61fbbfdc63b8d920787f78ff226967b87d7b8 /app/policies
parent056dd422ea9e03869c182a9200fcbe9166d01ad1 (diff)
Add latest changes from gitlab-org/gitlab@14-10-stable-ee
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/project_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index a417ea35673..68b288bdc87 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -664,7 +664,7 @@ class ProjectPolicy < BasePolicy
enable :read_security_configuration
end
- rule { can?(:guest_access) & can?(:read_commit_status) }.policy do
+ rule { can?(:guest_access) & can?(:download_code) }.policy do
enable :create_merge_request_in
end