Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Rüttimann <roger.ruettimann@gmail.com>2019-03-06 14:06:21 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-03-06 14:06:21 +0300
commit4db83367868a7530e43ea635d3916fb1c20dd4f9 (patch)
tree7b56f06cc7f040d0eaa6807ae2cbc602d495588c /app/policies/project_policy.rb
parent79305b77f4daa0a25797fc0e656da53abd52c4f3 (diff)
API: delete job_artifacts of a single job
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r--app/policies/project_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 87749ecf6c0..cf257ed47c8 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -278,6 +278,7 @@ class ProjectPolicy < BasePolicy
enable :admin_cluster
enable :create_environment_terminal
enable :destroy_release
+ enable :destroy_artifacts
enable :daily_statistics
end