Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter chefnelone

    (@chefnelone)

    I tried with this, but not working:

    function myextension_shop_manager_role_edit_capabilities( $roles ) {
        $roles[] = 'subscriber';
        return $roles;
    }
    add_filter( 'woocommerce_shop_manager_editable_roles', 'myextension_shop_manager_role_edit_capabilities' ); 
    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @chefnelone

    You might try the (free) User Role Editor plugin. This plugin lets you get quite granular with what your different user roles have permission to do.

    Thread Starter chefnelone

    (@chefnelone)

    Hi!

    I already use this https://es.wordpress.org/plugins/capability-manager-enhanced/
    What’s is the name of the capability I have to grant permission to?

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    With the User Role Editor plugin, I found it under Core > Users > delete_users.

    Thread Starter chefnelone

    (@chefnelone)

    Hi @m155y5,

    I activated the User Role Editor plugin as you suggested me. But it does not work.

    To reproduce:

    • In the User Role Editor settings do check ‘delete_user’ under Core > Users >
    • Login in the site as Shop Manager user
    • Try to delete a user with the ‘subscriber’ role
    • This reply was modified 3 years, 6 months ago by chefnelone.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permission to Shop Manager role to delete user with ‘Subscriber’ Role?’ is closed to new replies.