From 3d87b6597d748e30cd4f4487db2a70e01d419852 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 12 May 2019 14:50:54 +0200 Subject: [PATCH] Editor role now only can edit his own content --- bl-kernel/admin/controllers/content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/admin/controllers/content.php b/bl-kernel/admin/controllers/content.php index f48ee78b..8d7e94b4 100644 --- a/bl-kernel/admin/controllers/content.php +++ b/bl-kernel/admin/controllers/content.php @@ -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);