Closed
Bug 302835
Opened 19 years ago
Closed 19 years ago
The "confirm delete" page when deleting a user should distinguish between risky and no risky actions
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: LpSolit, Assigned: LpSolit)
Details
Attachments
(1 file, 1 obsolete file)
|
19.15 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
When deleting a user, some deletions are safe, such as removing the user from the CC list, removing his votes from bugs, marking pending flags where he is the requestee as unspecifically requested, etc... Some other deletions are unsafe and may potentially crash the Bugzilla installation, such as bugs reported by this user, flags set by this user, etc... The confirmation page should distinguish between these two categories, for instance by displaying a red border for risky deletions and the actual yellow border for safe deletions. An easy definition of "risky" would be each deletion which produces referential integrity breakages (a user ID with no entry in the profiles table).
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 2•19 years ago
|
||
Comment on attachment 194265 [details] [diff] [review] patch, v1 <ul> may not contain CDATA, just <li>. If you want to put the safe/unsafe messages into the same frame the lists are in, then you need to have the frame on a <div>: <div class="criticalmessages"> <p>What you're doing is not safe.</p> <ul> <li>Foo</li> <li>Bar</li> </ul> </div> This means the css file will have to be changed, too. Good otherwise.
Attachment #194265 -
Flags: review?(wurblzap) → review-
| Assignee | ||
Comment 3•19 years ago
|
||
Attachment #194265 -
Attachment is obsolete: true
Attachment #199825 -
Flags: review?(wurblzap)
Comment 4•19 years ago
|
||
Comment on attachment 199825 [details] [diff] [review] patch, v2 Yup. Regarding the messages: against the previous patch, I believe you altered indentation only, right? I didn't check everything again. You're right on the display_warning thing, of course.
Attachment #199825 -
Flags: review?(wurblzap) → review+
Updated•19 years ago
|
Flags: approval?
Flags: approval2.20?
| Assignee | ||
Comment 5•19 years ago
|
||
(In reply to comment #4) > indentation only, right? right!
Target Milestone: --- → Bugzilla 2.20
Updated•19 years ago
|
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
| Assignee | ||
Comment 6•19 years ago
|
||
tip: Checking in skins/standard/admin.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/admin.css,v <-- admin.css new revision: 1.2; previous revision: 1.1 done Checking in template/en/default/admin/users/confirm-delete.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/confirm-delete.html.tmpl,v <-- confirm-delete.html.tmpl new revision: 1.6; previous revision: 1.5 done 2.20: Checking in skins/standard/admin.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/admin.css,v <-- admin.css new revision: 1.1.4.1; previous revision: 1.1 done Checking in template/en/default/admin/users/confirm-delete.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/confirm-delete.html.tmpl,v <-- confirm-delete.html.tmpl new revision: 1.4.2.2; previous revision: 1.4.2.1 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•