Tried to create a user role that can only edit user information, but my test account cannot view the dashboard. What am I missing?
One of our websites includes an online store, which alongside phone sales is one of two ways customers can purchase our products. All of our customer info is stored in a program called Orderwise, which assigns a unique number code to each customer. Now, we've set up the ability to add an Orderwise number to user info on the website, so I've been trying to set up a role which will allow the sales department to get through to the dashboard, but only so they can edit user info and add Orderwise numbers manually, and also view WooCommerce info such as orders. So I created a role with the following capabilities via a plugin;
edit_users
list_users
read
read_private_pages
read_private_posts
read_private_products
read_private_shop_coupons
read_private_shop_orders
read_private_shop_webhooks
read_product
read_shop_coupon
read_shop_order
read_shop_webhook
view_woocommerce_reports
I then assigned this role to a dummy test account and tried logging in with that via /wp-admin. This allowed me to login as a public site user, like our customers can, but not to access the dashboard and edit user info.
What capabilities am I missing from my role? Could any of these be conflicting with one another?
Topic woocommerce-offtopic user-roles Wordpress
Category Web