=link_to'Unprotect',[@project.namespace.becomes(Namespace),@project,protected_tag],data: {confirm: 'tag will be writable for developers. Are you sure?'},method: :delete,class: 'btn btn-warning'
=link_tonamespace_project_tag_path(@project.namespace,@project,tag.name),class: 'btn btn-remove remove-row has-tooltip',title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?",container: 'body'},remote: truedo
=link_tonamespace_project_tag_path(@project.namespace,@project,tag.name),class: "btn btn-remove remove-row has-tooltip #{protected_tag?(@project,tag)?'disabled':''}",title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?",container: 'body'},remote: truedo
=link_tonamespace_project_tag_path(@project.namespace,@project,@tag.name),class: 'btn btn-remove remove-row has-tooltip',title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{@tag.name}' tag cannot be undone. Are you sure?"}do
=link_tonamespace_project_tag_path(@project.namespace,@project,@tag.name),class: "btn btn-remove remove-row has-tooltip #{protected_tag?(@project,@tag)?'disabled':''}",title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{@tag.name}' tag cannot be undone. Are you sure?"}do
-take_ownership_confirmation="By taking ownership you will bind this trigger to your user account. With this the trigger will have access to all your projects as if it was you. Are you sure?"
-revoke_trigger_confirmation="By revoking a trigger you will break any processes making use of it. Are you sure?"
@@ -411,6 +411,10 @@ An [object-relational](https://en.wikipedia.org/wiki/PostgreSQL) database. Toute
A [feature](https://docs.gitlab.com/ce/user/project/protected_branches.html) that protects branches from unauthorized pushes, force pushing or deletion.
### Protected Tags
A [feature](https://docs.gitlab.com/ce/user/project/protected_tags.html) that protects tags from unauthorized creation, update or deletion
### Pull
Git command to [synchronize](https://git-scm.com/docs/git-pull) the local repository with the remote repository, by fetching all remote changes and merging them into the local repository.
Protected Tags allow control over who has permission to create tags as well as preventing accidental update or deletion once created. Each rule allows you to match either an individual tag name, or use wildcards to control multiple tags at once.
This feature evolved out of [Protected Branches](protected_branches.md)
## Overview
Protected tags will prevent anyone from updating or deleting the tag, as and will prevent creation of matching tags based on the permissions you have selected. By default, anyone without Master permission will be prevented from creating tags.
## Configuring protected tags
To protect a tag, you need to have at least Master permission level.
1. Navigate to the project's Settings -> Repository page
1. From the **Tag** dropdown menu, select the tag you want to protect or type and click `Create wildcard`. In the screenshot below, we chose to protect all tags matching `v*`.