"Sorry, you can't shop as this customer. They have higher capabilites" after fixing User Role Hierarchy

I'm getting the error Sorry, you can't shop as this customer.
They have higher capabilites so switching would not be secure.

I have custom roles. I added the staff custom role to the hierachy and that added the shop as customer links to the user, so I know that is OK.

 

However when I click the shop as customer button  I get the error above. The user is type 'member' and the heirachy that I have in settings is:

super_admin
administrator
shop_manager | staff | custom_role
customer
member
subscriber

 

so the staff role has higher privileges there and the only permission 'member' has is read, which 'staff' also has

Asked on November 6, 2018 in Shop as Customer.
' data-html="true"> Share
  • Comment(0)
  • Add Comment
    0 Answer(s)

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.