[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # Contributor(s): Marc Schumann #%] [%# INTERFACE: # # message: message tag specifying a global/messages.html.tmpl # message # listselectionvalues: selection values to recreate the current user list. # editusers: is viewing user member of editusers? # otheruser: Bugzilla::User object of viewed user. # groups: array of group information (name, grant type, # canbless) for viewed user. #%] [% title = BLOCK %]Edit user [% otheruser.identity FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title message = message style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] %] [% PROCESS admin/users/listselectvars.html.tmpl listselectionvalues = listselectionvalues %]
[% PROCESS admin/users/userdata.html.tmpl editform = 1 editusers = editusers otheruser = otheruser %] [% IF groups.size %] [% END %]
Group access: [% IF editusers %] [% END %] [% IF editusers %] [% END %] [% FOREACH group = groups %] [% perms = permissions.${group.id} %] [% IF editusers %] [% END %] [% END %]
Can turn these bits on for other users
|User is a member of these groups
[% '[' IF perms.indirectbless %] [% %] [% ']' IF perms.indirectbless %] [% '[' IF perms.derivedmember %] [% '*' IF perms.regexpmember %] [%%] [% '*' IF perms.regexpmember %] [% ']' IF perms.derivedmember %]
Product responsibilities: [% IF otheruser.product_responsibilities.size %] [% PROCESS admin/users/responsibilities.html.tmpl otheruser = otheruser %] [% ELSE %] none [% END %]

[% INCLUDE listselectionhiddenfields %] or View Account History

User is a member of any groups shown with a check or grey bar. A grey bar indicates indirect membership, either derived from other groups (marked with square brackets) or via regular expression (marked with '*').

[% IF editusers %]

Square brackets around the bless checkbox indicate the ability to bless users (grant them membership in the group) as a result of membership in another group.

[% END %] [% IF Param('allowuserdeletion') && editusers %]

[% INCLUDE listselectionhiddenfields %]

[% END %]

You can also [% IF editusers %] add a new user [% IF listselectionvalues %], [% END %] [% END %] [% IF listselectionvalues.matchtype != 'exact' %] go back to the user list, [% END %] [% IF editusers OR listselectionvalues %] or [% END %] find other users.

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