Bug 545029: When deleting a group, no warning is thrown about group inheritance

r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-3_6-BRANCH@259730 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-02-17 21:48:46 +00:00
parent 923a719cae
commit e2b870ee7d
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
6975
6976

View File

@ -60,6 +60,15 @@
all users from this group for me.</label></p>
[% END %]
[% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]
<p><b>Members of this group inherit membership in the following groups:</b></p>
<ul>
[% FOREACH grantor = group.granted_by_direct(constants.GROUP_MEMBERSHIP) %]
<li>[% grantor.name FILTER html %]</li>
[% END %]
</ul>
[% END %]
[% IF group.bugs.size %]
<p><b>[% group.bugs.size FILTER html %] [%+ terms.bug %] reports are
visible only to this group. You cannot delete this group while any