diff options
author | miketosh <michael.j.tosh@lmco.com> | 2011-10-23 14:18:04 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-10-23 14:18:04 +0200 |
commit | 5173b6cbadea03c8525218f09794b3f74ab12d96 (patch) | |
tree | 05aaf3f5230a04647ca371480dae85f974d035de /template/en/default | |
parent | ce3970fd0a2890b88485c2723e7af1633544c741 (diff) | |
download | bugzilla-5173b6cbadea03c8525218f09794b3f74ab12d96.tar.gz bugzilla-5173b6cbadea03c8525218f09794b3f74ab12d96.tar.xz |
Bug 690173: Cannot delete user accounts due to FK on audit_log
r/a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/admin/users/confirm-delete.html.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl index 1e7077eaf..8f1a3d2fc 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -226,7 +226,8 @@ [% IF assignee_or_qa || cc || component_cc || email_setting || flags.requestee || namedqueries || profile_setting || quips || series || watch.watched || - watch.watcher || whine_events || whine_schedules || other_safe %] + watch.watcher || whine_events || whine_schedules || otheruser.has_audit_entries || + other_safe %] <div class="warningmessages"> <p>The following deletions are <b>safe</b> and will not generate referential integrity inconsistencies.</p> @@ -427,6 +428,14 @@ but the whines themselves will be left unaltered. </li> [% END %] + [% IF otheruser.has_audit_entries %] + <li> + The user has performed audited administrative tasks + that are logged in the database. + If you delete this user account, the audit log entries + will no longer be indentifiable. + </li> + [% END %] [% Hook.process('warn_safe') %] </ul> </div> |