From cfd67484c07a29617c3e35e03b90bdd3befc6dd7 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 24 Jul 2012 16:54:01 +0800 Subject: Bug 772776: add a "visiblity group" for the partner-confidential group --- .../default/hook/bug/create/create-form.html.tmpl | 38 +++++++++++++++------- 1 file changed, 26 insertions(+), 12 deletions(-) (limited to 'extensions/BMO/template/en/default/hook') 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 1b1f1d67d..0a3b75262 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 @@ -2,17 +2,31 @@ Security: [% sec_group = sec_groups.${product.name} || sec_groups._default %] - - - -

+ [% PROCESS group_checkbox + name = sec_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('partner-confidential-visible') %] + [% PROCESS group_checkbox + name = 'partner-confidential' + desc = "Restrict the visiblity of this " _ terms.bug _ " to " _ + "the assignee, QA contact, and CC list only." + %] + [% END %] +
+ +[% BLOCK group_checkbox %] + +
+[% END %] -- cgit v1.2.3-24-g4f1b