[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # group: A Bugzilla::Group object representing the group that is # about to be deleted. # shared_queries: int; The number of queries being shared with this # group. #%] [% title = BLOCK %]Delete group '[% group.name FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] doc_section = "administering/groups.html" %]
Field Value
Id [% group.id FILTER html %]
Name [% group.name FILTER html %]
Description [% group.description FILTER html_light %]
[% IF group.members_non_inherited.size %]

[% group.members_non_inherited.size FILTER html %] users belong directly to this group. You cannot delete this group while there are users in it.
Show me which users -

[% END %] [% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]

Members of this group inherit membership in the following groups:

[% 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 [%+ terms.bugs %] are using it.
Show me which [% terms.bugs %] -

NOTE: It's quite possible to make confidential [% terms.bugs %] public by checking this box. It is strongly suggested that you review the [% terms.bugs %] in this group before checking the box.

[% END %] [% IF group.products.size %]

This group is tied to the following products:

[% SET any_hidden = 0 %]

[% END %] [% IF group.flag_types.size %]

This group restricts who can make changes to flags of certain types. You cannot delete this group while there are flag types using it.
Show me which types -

[% END %] [% IF shared_queries %]

There [% IF shared_queries > 1 %] are [% shared_queries %] saved searches [% ELSE %] is a saved search [% END %] being shared with this group. If you delete this group, [% IF shared_queries > 1 %] these saved searches [% ELSE %] this saved search [% END %] will fall back to being private again.

[% END %]

Confirmation

Do you really want to delete this group?

[% IF group.users.size || group.bugs.size || group.products.size || group.flags.size %]

You must check all of the above boxes or correct the indicated problems first before you can proceed.

[% END %]

Go back to the group list. [% PROCESS global/footer.html.tmpl %]