diff options
author | Giorgenes Gelatti <ggelatti@gitlab.com> | 2019-09-03 05:41:22 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-09-03 05:41:22 +0300 |
commit | f5b2899422c8934339fd05ff94b2fdce0e812240 (patch) | |
tree | 7be7365b6f9749d49adcff3c57f5c9596f41027a /spec/lib/gitlab/auth_spec.rb | |
parent | 3feab2348f6045a0d30512bcac771650ac03c68c (diff) |
If user can push to docker then it can delete too
Extends the permission of $CI_REGISTRY_USER to allow them
to delete tags in addition to just pushing.
https://gitlab.com/gitlab-org/gitlab-ce/issues/40096
Diffstat (limited to 'spec/lib/gitlab/auth_spec.rb')
-rw-r--r-- | spec/lib/gitlab/auth_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth_spec.rb b/spec/lib/gitlab/auth_spec.rb index 098c33f9cb1..0365d63ea9c 100644 --- a/spec/lib/gitlab/auth_spec.rb +++ b/spec/lib/gitlab/auth_spec.rb @@ -587,7 +587,8 @@ describe Gitlab::Auth do :read_project, :build_download_code, :build_read_container_image, - :build_create_container_image + :build_create_container_image, + :build_destroy_container_image ] end |