diff --git a/bl-kernel/admin/controllers/content.php b/bl-kernel/admin/controllers/content.php index 8d7e94b4..42172756 100644 --- a/bl-kernel/admin/controllers/content.php +++ b/bl-kernel/admin/controllers/content.php @@ -4,7 +4,7 @@ // Check role // ============================================================================ -checkRole(array('admin', 'editor')); +checkRole(array('admin', 'editor', 'author')); // ============================================================================ // Functions @@ -41,8 +41,8 @@ $scheduled = $pages->getScheduledDB(true); $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'), false)) { +// If the user is an Author filter the content he/she can edit +if (checkRole(array('author'), false)) { $published = filterContentOwner($published); $drafts = filterContentOwner($drafts); $scheduled = filterContentOwner($scheduled); diff --git a/bl-kernel/admin/controllers/edit-content.php b/bl-kernel/admin/controllers/edit-content.php index 16c83d99..9fcbae16 100644 --- a/bl-kernel/admin/controllers/edit-content.php +++ b/bl-kernel/admin/controllers/edit-content.php @@ -4,7 +4,7 @@ // Check role // ============================================================================ -if (checkRole(array('editor'), false)) { +if (checkRole(array('author'), false)) { try { $pageKey = isset($_POST['key']) ? $_POST['key'] : $layout['parameters']; $page = new Page($pageKey); diff --git a/bl-kernel/admin/controllers/new-content.php b/bl-kernel/admin/controllers/new-content.php index b8239dc7..882e24ef 100644 --- a/bl-kernel/admin/controllers/new-content.php +++ b/bl-kernel/admin/controllers/new-content.php @@ -4,7 +4,7 @@ // Check role // ============================================================================ -checkRole(array('admin', 'editor')); +checkRole(array('admin', 'editor', 'author')); // ============================================================================ // Functions diff --git a/bl-kernel/admin/themes/booty/html/sidebar.php b/bl-kernel/admin/themes/booty/html/sidebar.php index 2a2d75eb..bf55e110 100644 --- a/bl-kernel/admin/themes/booty/html/sidebar.php +++ b/bl-kernel/admin/themes/booty/html/sidebar.php @@ -6,25 +6,23 @@