diff options
author | Felipe Artur <felipefac@gmail.com> | 2019-06-17 15:22:44 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2019-06-17 15:22:44 -0300 |
commit | d9df2f730b4eaab4e2d1b5f5045e34bb14e3486f (patch) | |
tree | 050490a4e90601ad4d175ba6674b98f35937587e /lib/api | |
parent | 66b9ca952aa4104f99c1275566e8b5c7d28fce01 (diff) | |
parent | d2929d6edb3a04054a5218cb1b21cb0759ec1ec8 (diff) | |
download | gitlab-ce-issue_60515.tar.gz |
Merge branch 'master' into issue_60515issue_60515
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/container_registry.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/api/container_registry.rb b/lib/api/container_registry.rb index e4493910196..7d9b5e1a598 100644 --- a/lib/api/container_registry.rb +++ b/lib/api/container_registry.rb @@ -115,12 +115,8 @@ module API authorize! :read_container_image, repository end - def authorize_update_container_image! - authorize! :update_container_image, repository - end - def authorize_destroy_container_image! - authorize! :admin_container_image, repository + authorize! :destroy_container_image, repository end def authorize_admin_container_image! |