2015-03-12, 02:24 AM
This is probably intentional but due to the un-optimal error_no_permission page being so general it should be changed.
The following code in newthread.php is incorrect when the user has permission to create but not to see threads:
It should check for viewing permissions and use a proper redirection message and url.
The following code in newthread.php is incorrect when the user has permission to create but not to see threads:
// This is just a normal thread - send them to it.
else
{
// Visible thread
$lang->redirect_newthread .= $lang->redirect_newthread_thread;
$url = get_thread_link($tid);
}
It should check for viewing permissions and use a proper redirection message and url.