summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl18
1 files changed, 13 insertions, 5 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
index 3fdec2990..6f88888f0 100644
--- a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
@@ -1,11 +1,19 @@
<tr>
<th>Security:</th>
<td colspan="3">
- [% PROCESS group_checkbox
- name = product.default_security_group
- desc = "Many users could be harmed by this security problem: " _
- "it should be kept hidden from the public until it is resolved."
- %]
+ [% IF user.in_group(product.default_security_group) %]
+ [% PROCESS group_checkbox
+ name = product.default_security_group
+ desc = "Restrict access to this " _ terms.bug _ " to members of " _
+ "the \"" _ product.default_security_group_obj.description _ "\" group."
+ %]
+ [% ELSE %]
+ [% PROCESS group_checkbox
+ name = product.default_security_group
+ desc = "Many users could be harmed by this security problem: " _
+ "it should be kept hidden from the public until it is resolved."
+ %]
+ [% END %]
[% IF user.in_group('partner-confidential-visible') %]
[% PROCESS group_checkbox
name = 'partner-confidential'