Archived
better comments by author
Removes some restrictions previously added. Or else we would need a 'userComments' privilege. But that would not make too much sense, since we already work with the lowest group privilege here. This still is not ready yet, I presume. It needs more finetuning like answer to comments, etc. Please help testing. References #385
This commit is contained in:
@@ -4,17 +4,6 @@ if (IN_serendipity !== true) {
|
||||
die ("Don't hack!");
|
||||
}
|
||||
|
||||
$trusted = false;
|
||||
|
||||
if ($serendipity['serendipityUserlevel'] == 0 && $serendipity['GET']['authorid'] == $serendipity['authorid']) {
|
||||
$serendipity['POST'] = $serendipity['GET'];
|
||||
$trusted = true;
|
||||
}
|
||||
|
||||
if (!serendipity_checkPermission('adminComments') && !$trusted) {
|
||||
return;
|
||||
}
|
||||
|
||||
$data = array();
|
||||
|
||||
$commentsPerPage = (int)(!empty($serendipity['GET']['filter']['perpage']) ? $serendipity['GET']['filter']['perpage'] : 10);
|
||||
|
||||
Reference in New Issue
Block a user