diff options
author | Roger Rüttimann <roger.ruettimann@gmail.com> | 2019-03-06 14:06:21 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-03-06 14:06:21 +0300 |
commit | 4db83367868a7530e43ea635d3916fb1c20dd4f9 (patch) | |
tree | 7b56f06cc7f040d0eaa6807ae2cbc602d495588c /app/policies/project_policy.rb | |
parent | 79305b77f4daa0a25797fc0e656da53abd52c4f3 (diff) |
API: delete job_artifacts of a single job
Diffstat (limited to 'app/policies/project_policy.rb')
-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 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 |