diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-03-31 19:30:33 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-03-31 19:37:39 +0100 |
commit | 553cf9ea54ccb0736a8b44e2f3d047d0860aa71e (patch) | |
tree | 7f9927d2de82a81110d60ebc35eb6180f89b1635 /lib | |
parent | ab46353fd9c0c76c137bf828788ecbc34d0fe99a (diff) | |
download | gitlab-ce-553cf9ea54ccb0736a8b44e2f3d047d0860aa71e.tar.gz |
Added ‘protected’ label and disabled delete button for tags index/show
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/checks/change_access.rb | 2 |
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 |