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:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-31 21:30:33 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-31 21:37:39 +0300
commit553cf9ea54ccb0736a8b44e2f3d047d0860aa71e (patch)
tree7f9927d2de82a81110d60ebc35eb6180f89b1635 /lib/gitlab/checks
parentab46353fd9c0c76c137bf828788ecbc34d0fe99a (diff)
Added ‘protected’ label and disabled delete button for tags index/show
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r--lib/gitlab/checks/change_access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/checks/change_access.rb b/lib/gitlab/checks/change_access.rb
index 0d8f114cc59..540d95f2d1f 100644
--- a/lib/gitlab/checks/change_access.rb
+++ b/lib/gitlab/checks/change_access.rb
@@ -80,7 +80,7 @@ module Gitlab
end
if !user_access.can_push_tag?(@tag_name)
- return "You are not allowed to create protected tags on this project." #TODO: Wording, it is a specific tag which you don't have access too, not all protected tags which might have different levels
+ return "You are not allowed to create this tag as it is protected."
end
end