From: Frédéric Buclin
Date: Wed, 17 Feb 2010 21:34:28 +0000 (+0100)
Subject: Bug 545029: When deleting a group, no warning is thrown about group inheritance
X-Git-Tag: bugzilla-3.6rc1~49
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c59ca873982a754da7d2183a922cfcec61a5930;p=thirdparty%2Fbugzilla.git
Bug 545029: When deleting a group, no warning is thrown about group inheritance
r=mkanat a=LpSolit
---
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
index c1a9403f98..9d32da4de6 100644
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ b/template/en/default/admin/groups/delete.html.tmpl
@@ -60,6 +60,15 @@
all users from this group for me.
[% END %]
+ [% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]
+ Members of this group inherit membership in the following groups:
+
+ [% FOREACH grantor = group.granted_by_direct(constants.GROUP_MEMBERSHIP) %]
+ - [% grantor.name FILTER html %]
+ [% END %]
+
+ [% END %]
+
[% IF group.bugs.size %]
[% group.bugs.size FILTER html %] [%+ terms.bug %] reports are
visible only to this group. You cannot delete this group while any