View Issue Details

IDProjectCategoryView StatusLast Update
0002534HTML & PERLBug Report - Interfacepublic2016-08-30 09:55
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2016-09 
Summary0002534: Invalid edit/delete buttons in blog section in show=userpage&uid=XYZ + blog itself + blog post
DescriptionThis 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 ReproduceGo 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 InformationThis issue may be related to 0002533.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-08-05 05:21 Hinoe New Issue
2016-08-05 23:40 DerIdiot Assigned To => DerIdiot
2016-08-05 23:40 DerIdiot Status new => resolved
2016-08-05 23:40 DerIdiot Resolution open => fixed
2016-08-30 09:55 DerIdiot Fixed in Version => 2016-09