summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-15 09:07:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-15 09:07:33 +0000
commit389d5aa505a916b0506b7b73dcc3be342d724976 (patch)
treed53490630b9aac2eb397d9816db91030afad832a /app/policies
parentf632ee795fd542d7ae2753d157725bd39d33e32d (diff)
downloadgitlab-ce-389d5aa505a916b0506b7b73dcc3be342d724976.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/project_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 069096e5bc0..e7b63d5e17f 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -413,6 +413,7 @@ class ProjectPolicy < BasePolicy
enable :admin_feature_flag
enable :admin_feature_flags_user_lists
enable :update_escalation_status
+ enable :read_secure_files
end
rule { can?(:developer_access) & user_confirmed? }.policy do
@@ -462,6 +463,7 @@ class ProjectPolicy < BasePolicy
enable :register_project_runners
enable :update_runners_registration_token
enable :admin_project_google_cloud
+ enable :admin_secure_files
end
rule { public_project & metrics_dashboard_allowed }.policy do