• Resolved ateufel

    (@ateufel)


    Hi! I am using the Plugin to specify a “Shop Manager” role for WooCommerce, and i activated all User editing permissions for that role. It should be possible for that role to delete WordPress users, or edit their (address/billing) data. But if I login with that user and try to delete a user (by selecting him and choosing the delete bulk action), there is a confirm button – after pressing it, i get an error that I do not have the permission for this. The user to delete/edit would be a regular customer, no special role like Administrator.
    Is there something I am missing?
    Btw, editing the orders including user data is possible for the role, but I need him to be able to change the default data for users that is visible in the default WordPress user overview.

    Also, is there a permission to allow the integrated WP tool to erase personal data for data privacy, or can i just use this as Administrator?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    My test showed that shop_manager with ‘list_users’, ‘edit_users’, ‘delete_users’ capabilities’ can delete selected user with ‘customer’ role successfully. Test user was just created and did not have orders though. Does customer have orders in your case?
    Try to deactivate all plugins except WooCommerce and try under shop_manager to delete user then?

    Menu item “Tools->Erase personal data” is protected by virtual user capability ‘erase_others_personal_data’. WordPress maps it by default to ‘manage_network’ for multisite and ‘manage_options’ for single site installation.

    I have similar issue. The shop manager role cannot promote or change other users roles even if all relevant permissions are given. This applies to user page itself where the role could be change or the user list where in the dropdown there is only one selection for promotion “customer”. We also use custom roles (where we promote them from subscriber). Administrator can change these obviously.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    @sirrahikkala,

    WooCommerce works this way by default. Workaround is documented here.

    Thread Starter ateufel

    (@ateufel)

    Yeah, that workaround works well, thank you for the support @shinephp !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User delete/edit permission not working for custom role’ is closed to new replies.