Categories missing from sidebar menu for Editors

  • I've given the Editor role all the rights over Categories (create, delete, manage, create category sets, delete category sets).


    But when the editor logs in, they don't see the "Categories" item under Organise in the sidebar menu.


    Diagnostics:


    Perch: 3.1.4, PHP: 7.2.0, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO

    Server OS: WINNT, apache2handler

    Installed apps: content (3.1.4), assets (3.1.4), categories (3.1.4), perch_forms (1.11), perch_members (1.6.4), perch_mailchimp (3.1)

    App runtimes: <?php $apps_list = [ 'perch_forms', 'perch_members', 'perch_mailchimp', ]; ?>

    PERCH_LOGINPATH: /cms

    PERCH_PATH: C:\wamp\www\cruse\cms

    PERCH_CORE: C:\wamp\www\cruse\cms\core

    PERCH_RESFILEPATH: C:\wamp\www\cruse\cms\resources

    Image manipulation: GD

    PHP limits: Max upload 64M, Max POST 50M, Memory: 1024M, Total max file upload: 50M

    F1: 3b606135b33e6a102526838f4152a807

    Resource folder writeable: Yes

    HTTP_HOST: cruse.local

    DOCUMENT_ROOT: C:/wamp/www/cruse

    REQUEST_URI: /cms/core/settings/diagnostics/

    SCRIPT_NAME: /cms/core/settings/diagnostics/index.php

  • drewm

    Approved the thread.
  • I resolved this so I'm posting here in case it helps anyone else.


    In the database:

    perch2_user_privileges table has 5 items relating to categories including:

    privID: 27

    privKey: categories.manage


    perch2_menu_items table has this row relating to categories:

    itemTitle: Categories

    privID: 22


    Note the menu item was using an incorrect privID for managing categories.


    So, in the perch2_menu_items table, I edited the privID so it matched the "categories.manage" privID

    itemTitle: Categories

    privID: 27


    And then the Organise ... Categories menu item was displayed for the editor role.