diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-15 09:07:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-15 09:07:33 +0000 |
commit | 389d5aa505a916b0506b7b73dcc3be342d724976 (patch) | |
tree | d53490630b9aac2eb397d9816db91030afad832a /app/policies | |
parent | f632ee795fd542d7ae2753d157725bd39d33e32d (diff) | |
download | gitlab-ce-389d5aa505a916b0506b7b73dcc3be342d724976.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 2 |
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 |