Skip to content

Commit

Permalink
Editor role now only can edit his own content
Browse files Browse the repository at this point in the history
  • Loading branch information
dignajar committed May 12, 2019
1 parent b35efdc commit 3d87b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bl-kernel/admin/controllers/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function filterContentOwner($list) {
$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);
Expand Down

0 comments on commit 3d87b65

Please sign in to comment.