[%# 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: # # listselectionvalues: selection values to recreate the current user # list. # editusers: is viewing user member of editusers? # otheruser: Bugzilla::User object of the viewed user. # reporter: number of bugs reported by the user # assignee_or_qa: number of bugs the user is either the assignee # or the QA contact # bugs_activity: number of bugs the viewed user has activity # entries on # cc number of bugs the viewed user is cc list member # of # flags.requestee: number of flags the viewed user is being asked for # flags.setter: number of flags the viewed user has set # longdescs: number of bug comments the viewed user has written # namedqueries: number of named queries the user has created # namedquery_group_map: number of named queries the user has shared # profiles_activity: number of changes made to other users' profiles # series: number of series the viewed user has created # watch.watched: number of users the viewed user is being watched # by # watch.watcher: number of users the viewed user is watching # whine_events: number of whine events the viewed user has created # whine_schedules: number of whine schedules the viewed user has # created #%] [% title = BLOCK %]Confirm deletion of user [% otheruser.login FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] doc_section = "administering/users.html#deleting-users" %] [% PROCESS admin/users/listselectvars.html.tmpl listselectionvalues = listselectionvalues %] [% IF !Param('use_email_as_login') %] [% END %] [% IF otheruser.product_responsibilities.size %] [% END %]
Field Value
Login: [% otheruser.login FILTER html %]
Email address: [% otheruser.email FILTER html %]
Real name: [% otheruser.name FILTER html %]
Group set: [% IF otheruser.groups.size %]
    [% FOREACH group = otheruser.groups %]
  • [% group.name FILTER html %]
  • [% END %]
[% ELSE %] None [% END %]
Product responsibilities: [% PROCESS admin/users/responsibilities.html.tmpl otheruser = otheruser %]
[% IF otheruser.product_responsibilities.size %]

You can't delete this user at this time because [%+ otheruser.login FILTER html %] has got responsibilities for at least one product.

[% IF user.in_group("editcomponents", component.product_id) %] Change this by clicking the product editing links above, [% ELSE %] For now, you can [% END %] [% ELSE %] [% accept_deletion = 1 %] [% IF attachments || reporter || bugs_activity || flags.setter || longdescs || profiles_activity %]

The following deletions are unsafe and would generate referential integrity inconsistencies!

[% accept_deletion = 0 %] [% END %] [% IF assignee_or_qa || cc || component_cc || email_setting || flags.requestee || namedqueries || profile_setting || quips || series || watch.watched || watch.watcher || whine_events || whine_schedules || otheruser.has_audit_entries || other_safe %]

The following deletions are safe and will not generate referential integrity inconsistencies.

[% IF accept_deletion %]

Please be aware of the consequences of this before continuing.

Do you really want to delete this user account?

[% INCLUDE listselectionhiddenfields %]

If you do not want to delete the user account at this time, [% ELSE %]

You cannot delete this user account due to unsafe actions reported above. You can [% END %] [% END %] [% END %] edit the user, go back to the user list, [% IF editusers %] add a new user, [% END %] or find other users.

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