diff options
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 |