diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 12:09:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 12:09:05 +0000 |
commit | 5426ca9908085087d465fa52800335f408eb965a (patch) | |
tree | 6b442cff02fda9402fc7bb9cf9986e363dd5aaa6 /app/policies | |
parent | 67cdfd2683b89bce260600fa8925eefdcdf9e3e5 (diff) | |
download | gitlab-ce-5426ca9908085087d465fa52800335f408eb965a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index 507e227c952..4d49c96d268 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -312,6 +312,7 @@ class ProjectPolicy < BasePolicy enable :destroy_artifacts enable :daily_statistics enable :admin_operations + enable :read_deploy_token end rule { (mirror_available & can?(:admin_project)) | admin }.enable :admin_remote_mirror |