diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-04 02:05:51 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-04 02:10:14 +0300 |
commit | d5acb69e116cbbed105e29552d7cca2e864f0c8f (patch) | |
tree | 9a63d6f26d1cebec3cd1887ae9ead45810df317a /app/views/projects/protected_tags | |
parent | ff2713a57046bd08764ad391d7f34bd27f787610 (diff) |
Protected Tags prevents all updates instead of just force pushes.
This only changes behaviour for masters, as developers are already prevented from updating/deleting tags without the Protected Tags feature
Diffstat (limited to 'app/views/projects/protected_tags')
-rw-r--r-- | app/views/projects/protected_tags/_index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/protected_tags/_index.html.haml b/app/views/projects/protected_tags/_index.html.haml index 591d64ae7de..0bfb1ad191d 100644 --- a/app/views/projects/protected_tags/_index.html.haml +++ b/app/views/projects/protected_tags/_index.html.haml @@ -8,8 +8,8 @@ %p.prepend-top-20 By default, Protected tags are designed to: %ul - %li Prevent tag pushes from everybody except Masters - %li Prevent <strong>anyone</strong> from force pushing to the tag + %li Prevent tag creation by everybody except Masters + %li Prevent <strong>anyone</strong> from updating the tag %li Prevent <strong>anyone</strong> from deleting the tag .col-lg-9 - if can? current_user, :admin_project, @project |