Editor role now only can edit his own content

This commit is contained in:
Diego Najar 2019-05-12 14:50:54 +02:00
parent b35efdcf2f
commit 3d87b6597d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ $static = $pages->getStaticDB(true);
$sticky = $pages->getStickyDB(true);
// If the user is an Editor filter the content he/she can edit
if (checkRole(array('editor'))) {
if (checkRole(array('editor'), false)) {
$published = filterContentOwner($published);
$drafts = filterContentOwner($drafts);
$scheduled = filterContentOwner($scheduled);