Support » Plugin: Capability Manager Enhanced » New role not appearing in Author dropdown on edit pages

  • Resolved longwhitedigital


    I’ve created a new role with custom capabilities that I want (to leave the default ones intact).
    When I go to create a page, I’m not able to assign the page/post to an author of the new role – they just don’t appear.
    Is this correct behaviour? Is there a way to make it work?
    Thanks in advance

Viewing 11 replies - 1 through 11 (of 11 total)
  • Having this issue as well.

    I think I figured it out, had to change the level to have it show up.

    Plugin Author Kevin Behrens


    The role level can be set using the dropdown at the bottom of the role editing screen.

    in the previous version before 1.5.x my woocommerce shopmanager can change the user roles and custom roles that I (admin) created but after update the shopmanager capabilities cannot change or edit custom roles :
    – cannot see roles
    – cannot edit a user within a custom role
    – and some limitation to woocommerce settings

    plz help me
    thaaankssss 🙂

    • This reply was modified 5 months, 2 weeks ago by  mansoorf.

    same here (subscribe)

    Plugin Author Kevin Behrens


    The shop manager’s role level will need to have its role level set higher than the other roles you want it to manage. Your site Administrator can set this at the bottom of the Roles and Capabilities screen.

    This safeguard was not consistently applied prior to CME version 1.5.4

    • This reply was modified 5 months, 1 week ago by  Kevin Behrens. Reason: further clarification of version history

    Dear Kevin, Hi
    Thanks For your reply,
    Can you tell us how the shopmanager can edit Users With Custom Roles ?
    (WHICH capability to check/uncheck)

    • This reply was modified 5 months, 1 week ago by  mansoorf.

    My ‘Shop Manager’ has role level ‘9’ and all the other (custom) users have ‘0’. But with the shop manager loged in I am only able to choose role ‘Customer’ for new users. The same when I try to change the role for an existing user.
    Any ideas?

    I solved it by adding this to my functions.php:

    function myextension_shop_manager_role_edit_capabilities( $roles ) {
      $roles[] = 'custom-role-1';
      $roles[] = 'custom-role-2';
      $roles[] = 'custom-role-3';
      return $roles;
    add_filter( 'woocommerce_shop_manager_editable_roles', 'myextension_shop_manager_role_edit_capabilities' );

    While ‘custom-role-x’ is the slag of my custom role

    Hi Dear PixelPlanet
    Thanks for SoLUTION,I’ve a question about this action!

    why i can’t find this action in the woocommerce docs ?
    where can I find it original with descriptions ?

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.