[%# 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. #%] [% title = BLOCK %] Edit Group Controls for [% product.name FILTER html %] [% END %] [% PROCESS global/header.html.tmpl title = title %] [% display_headers = 1 %] [% FOREACH group = product.group_controls(1).values.sort("name") %] [% NEXT UNLESS group.group.isactive OR group.bug_count %] [% IF display_headers %] [% display_headers = 0 %]
[% END %] [% IF !group.group.isactive %] [% ELSE %] [% END %] [% END %] [% IF display_headers %]

No groups are available for products. [% IF user.in_group('creategroups') %] Create a new group [% END %]

[% ELSE %]
Group Entry MemberControl OtherControl Canedit editcomponents canconfirm editbugs [% terms.Bugs %]
[% group.group.name FILTER html %] Disabled [% group.bug_count FILTER html %]
[% group.group.name FILTER html %] [% group.bug_count || 0 FILTER html %]

[% END %]

These settings control the relationship of the groups to this product.

If any group has Entry selected, then this product will restrict [% terms.bug %] entry to only those users who are members of [%+ IF Param('or_groups') %]at least one of[% ELSE %]all[% END %] the groups with entry selected.

If any group has Canedit selected, then this product will be read-only for any users who are not members of [%+ IF Param('or_groups') %]one[% ELSE %]all[% END %] of the groups with Canedit selected. ONLY users who are members of [%+ IF Param('or_groups') %]at least one of[% ELSE %]all[% END %] the canedit groups will be able to edit. This is an additional restriction that further restricts what can be edited by a user.

The following settings control let you choose privileges on a per-product basis. This is a convenient way to give privileges to some users for some products only, without having to give them global privileges which would affect all products:

Any group having editcomponents selected allows users who are in this group to edit all aspects of this product, including components, milestones and versions.

Any group having canconfirm selected allows users who are in this group to confirm [% terms.bugs %] in this product.

Any group having editbugs selected allows users who are in this group to edit all fields of [% terms.bugs %] in this product.

The MemberControl and OtherControl fields indicate which [% terms.bugs %] will be placed in this group according to the following definitions.

MemberControl OtherControl Interpretation
NA NA [% terms.Bugs %] in this product are never associated with this group.
Shown NA [% terms.Bugs %] in this product are permitted to be restricted to this group. Users who are members of this group will be able to place [% terms.bugs %] in this group.
Shown Shown [% terms.Bugs %] in this product can be placed in this group by anyone with permission to edit the [% terms.bug %] even if they are not a member of this group.
Shown Default [% terms.Bugs %] in this product can be placed in this group by anyone with permission to edit the [% terms.bug %] even if they are not a member of this group. Non-members place [% terms.bugs %] in this group by default.
Shown Mandatory [% terms.Bugs %] in this product are permitted to be restricted to this group. Users who are members of this group will be able to place [% terms.bugs %] in this group. Non-members will be forced to restrict [% terms.bugs %] to this group when they initially enter [% terms.abug %] in this product.
Default NA [% terms.Bugs %] in this product are permitted to be restricted to this group and are placed in this group by default. Users who are members of this group will be able to place [% terms.bugs %] in this group.
Default Default [% terms.Bugs %] in this product are permitted to be restricted to this group and are placed in this group by default. Users who are members of this group will be able to place [% terms.bugs %] in this group. Non-members will be able to restrict [% terms.bugs %] to this group on entry and will do so by default.
Default Mandatory [% terms.Bugs %] in this product are permitted to be restricted to this group and are placed in this group by default. Users who are members of this group will be able to place [% terms.bugs %] in this group. Non-members will be forced to place [% terms.bugs %] in this group on entry.
Mandatory Mandatory [% terms.Bugs %] in this product are required to be restricted to this group. Users are not given any option.

Please note that the above table delineates the only allowable combinations for the MemberControl and OtherControl field settings. Attempting to submit a combination not listed there (e.g. Mandatory/NA, Default/Shown, etc.) will produce an error message.

[% PROCESS global/footer.html.tmpl %]