diff options
author | David Lawrence <dkl@mozilla.com> | 2017-01-03 15:45:51 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-01-03 15:45:51 +0100 |
commit | 550a798284238af70960c8b4ab4fe276f40a9cbb (patch) | |
tree | d0f55f0e59bfef95d56407b50921fb06c1f464a9 /extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | |
parent | cad5c15d6610dde0e389736eb82be73921a2f705 (diff) | |
download | bugzilla-550a798284238af70960c8b4ab4fe276f40a9cbb.tar.gz bugzilla-550a798284238af70960c8b4ab4fe276f40a9cbb.tar.xz |
Bug 1262465 - ensure unprivileged users can mark a bug as security sensitive
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 5740dabd8..a1e039405 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -144,6 +144,7 @@ <input type="hidden" name="format" value="modal"> <input type="hidden" name="editing" id="editing" value=""> <input type="hidden" name="token" value="[% issue_hash_token([bug.id, bug.delta_ts]) FILTER html %]"> + <input type="hidden" name="addselfcc" id="addselfcc" value=""> [% PROCESS bug_modal/navigate.html.tmpl %] [% END %] @@ -1046,7 +1047,7 @@ collapsed = 1 subtitle = bug.groups_in.size ? bug.groups_in.pluck("description").join(", ") : "public" hide_on_view = bug.groups_in.size == 0 - hide_on_edit = bug.groups.size == 0 + hide_on_edit = bug.groups.size == 0 && !bug.product_obj.default_security_group %] [% INCLUDE bug_modal/groups.html.tmpl %] [% END %] |