diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 15:02:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 15:02:37 +0300 |
commit | 70966bf1a7079852c7857d2868e14830b100a92d (patch) | |
tree | 194f657c3cadfc92906eeb0bbb1cad7d5df18e10 /app/policies | |
parent | b1bbcf85684cee176ed5bb7eb43dd487a75f18fa (diff) |
Add latest changes from gitlab-org/security/gitlab@14-1-stable-ee
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index fc959c5c6cb..6f5bbf8c021 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -288,6 +288,7 @@ class ProjectPolicy < BasePolicy enable :read_confidential_issues enable :read_package enable :read_product_analytics + enable :read_ci_cd_analytics end # We define `:public_user_access` separately because there are cases in gitlab-ee @@ -487,6 +488,7 @@ class ProjectPolicy < BasePolicy prevent(:read_insights) prevent(:read_cycle_analytics) prevent(:read_repository_graphs) + prevent(:read_ci_cd_analytics) end rule { wiki_disabled }.policy do @@ -562,6 +564,7 @@ class ProjectPolicy < BasePolicy enable :read_cycle_analytics enable :read_pages_content enable :read_analytics + enable :read_ci_cd_analytics enable :read_insights # NOTE: may be overridden by IssuePolicy |