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:
authorJason Goodman <jgoodman@gitlab.com>2019-06-17 14:13:03 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-06-17 14:13:03 +0300
commita881a592d12444cfd407987e171d97b9609441a4 (patch)
tree982a7f63d7315abf82b29b258af3976d0e07bd65 /app/controllers
parent8ace9d91b52c0aae221bd35fd807d35296a92d9b (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/controllers')
-rw-r--r--app/controllers/projects/registry/tags_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/registry/tags_controller.rb b/app/controllers/projects/registry/tags_controller.rb
index 567d750caae..bf1d8d8b5fc 100644
--- a/app/controllers/projects/registry/tags_controller.rb
+++ b/app/controllers/projects/registry/tags_controller.rb
@@ -3,7 +3,7 @@
module Projects
module Registry
class TagsController < ::Projects::Registry::ApplicationController
- before_action :authorize_update_container_image!, only: [:destroy]
+ before_action :authorize_destroy_container_image!, only: [:destroy]
def index
respond_to do |format|