Skip to content

Use correct policy for tags controller

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The tags controller currently uses the admin_tag ability for new, create, and delete, however, the delete action should use delete_tag instead.

https://gitlab.com/gitlab-org/gitlab/-/blob/9082b8ce7e94449b73acd7e93c64501a86e94a3d/app/controllers/projects/tags_controller.rb#L11

Edited by 🤖 GitLab Bot 🤖