Editor role now only can edit his own content
This commit is contained in:
parent
b35efdcf2f
commit
3d87b6597d
|
@ -42,7 +42,7 @@ $static = $pages->getStaticDB(true);
|
||||||
$sticky = $pages->getStickyDB(true);
|
$sticky = $pages->getStickyDB(true);
|
||||||
|
|
||||||
// If the user is an Editor filter the content he/she can edit
|
// 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);
|
$published = filterContentOwner($published);
|
||||||
$drafts = filterContentOwner($drafts);
|
$drafts = filterContentOwner($drafts);
|
||||||
$scheduled = filterContentOwner($scheduled);
|
$scheduled = filterContentOwner($scheduled);
|
||||||
|
|
Loading…
Reference in New Issue