View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002534 | HTML & PERL | Bug Report - Interface | public | 2016-08-05 05:21 | 2016-08-30 09:55 |
Reporter | Hinoe | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2016-09 | ||||
Summary | 0002534: Invalid edit/delete buttons in blog section in show=userpage&uid=XYZ + blog itself + blog post | ||||
Description | This issue refers to at least the following 3 places: show=userpage&uid=XYZ show=userpage&do=blog&uid=XYZ show=userpage&do=blog&uid=XYZ&blogid=ABC In all of them, you have edit/delete links for each blog post. They will first ask for confirmation, and *only afterwards* throw a permission error; they instead shouldn't even exist, and if the user tried to access them regardless the error should be thrown before asking for confirmation. The "invalid permission" message for trying to delete the post could also use some improvement while at that: whatever the delete post error for the forum says if it has a decent message, or reuse the "You don't have the necessary rights to edit this post." message with "edit" replaced by "delete", etc. | ||||
Steps To Reproduce | Go to any of the pages this applies to for a user with a blog, having regular user permissions (having blog display in user pages enabled on your settings if you go to the the first page). I saw it on https://anidb.net/perl-bin/animedb.pl?show=userpage&uid=167 and associated pages. | ||||
Additional Information | This issue may be related to 0002533. | ||||
Tags | No tags attached. | ||||