diff options
author | Jason Goodman <jgoodman@gitlab.com> | 2019-06-17 14:13:03 +0300 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-06-17 14:13:03 +0300 |
commit | a881a592d12444cfd407987e171d97b9609441a4 (patch) | |
tree | 982a7f63d7315abf82b29b258af3976d0e07bd65 /app/policies | |
parent | 8ace9d91b52c0aae221bd35fd807d35296a92d9b (diff) |
Allow Developer role to delete tags via container registry api
This brings the API permissions in line with the UI permissions
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 728a3040227..a3632640ede 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -258,6 +258,7 @@ class ProjectPolicy < BasePolicy enable :resolve_note enable :create_container_image enable :update_container_image + enable :destroy_container_image enable :create_environment enable :create_deployment enable :create_release |