[%# 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: # # 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'] doc_section = "administration.html#modifying-users" javascript_urls = [ 'js/field.js' ] %] [% 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 %]
Last Login: [% IF otheruser.last_seen_date %] [% otheruser.last_seen_date FILTER html %] [% ELSE %] never [% 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 %]