]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1346162 - Needinfo is not checked for users that don't have canconfirm
authorSebastin Santy <sebastinssanty@gmail.com>
Wed, 15 Mar 2017 19:51:59 +0000 (15:51 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 15 Mar 2017 19:52:12 +0000 (15:52 -0400)
extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl

index 915379316085ee1d0485e94c484f745f98869ec6..5b316e4b03049f1adc204167647ccece66c8c009 100644 (file)
@@ -158,7 +158,7 @@ $(function() {
           <input type="checkbox" id="needinfo_override_[% flag.id FILTER html %]"
             name="needinfo_override_[% flag.id FILTER html %]" value="1" class="needinfo-override"
             [% 'data-is-self="1"' IF flag.requestee %]
-            [% " checked" IF user.in_group("canconfirm") %]>
+            [% " checked" IF flag.requestee.id == user.id || user.in_group("canconfirm") %]>
         </td>
         <td>
           <label for="needinfo_override_[% flag.id FILTER html %]">