2009-04-05, 08:18 PM
Hi,
I am using MyBB 1.4.4.
As I was trying to edit a post in a closed forum, I noticed that I was able to edit a post (closed or not) in a closed forum by the quick edit way, but not by the complete editing page.
After (too many) several minutes of search, I finally found the origin of this issue :
If the forum is closed, so the permissions aren't checked and even the administrators can't edit the post by the complete editing page.
Stranger than this, it's possible to edit it with the quick edit function, and it records... O_o
I hope I am not reporting a bug already reported. I've searched the forum and I haven't found this bug.
I am using MyBB 1.4.4.
As I was trying to edit a post in a closed forum, I noticed that I was able to edit a post (closed or not) in a closed forum by the quick edit way, but not by the complete editing page.
After (too many) several minutes of search, I finally found the origin of this issue :
if($forum['open'] == 0 || $mybb->user['suspendposting'] == 1)
{
error_no_permission();
}
This code is located in editpost.phpIf the forum is closed, so the permissions aren't checked and even the administrators can't edit the post by the complete editing page.
Stranger than this, it's possible to edit it with the quick edit function, and it records... O_o
I hope I am not reporting a bug already reported. I've searched the forum and I haven't found this bug.