Open stevejburge opened 3 years ago
@agapetry suggests we may need a new piece of the plugin to support WooCommerce
they use custom fields so we would have to develop a new solution for it. To avoid an overly abstract UI, it would probably need to be Woo-specific.
Is there any update on this? Really like to have this for our website.
@amjulash Sorry, not yet, but we are working on better WooCommerce support this year
I manage a Woocommerce shop for wholesalers, placing their orders on the shop's frontend, just like "normal" B2C customers do. Additionally there are some specific users (organized in a special user role), who also can login to the shop's backend (where I hide certain information and functions from them, at the moment using the plugins 'User role editor' and 'Adminimize') and place their orders directly on the orders list page of Woocommerce, like shop adminstrators can do. This works fine so far.
While logged in, they of course can see and edit the orders of any other shop customer, which is not intended for understandable reasons. Therefore I am searching for a way to restrict access for this specific users / user role to only their own orders. It should not only be an addition to filter the orders by a select box, which of course could be changed, but rather they should not be able to see and access anything else than their very own orders at all.
I have two clients who in need of this feature.
Thanks @amjulash
We are planning to build this as a Pro feature in Q1 2022.
@stevejburge @agapetry I think i'll need proposal on what to do or how to do it and maybe specification on the requirement? The order post status is another requirement which is related but this talk about category or something similar. So, i believe the order status is no longer part of this requirement and if so, can i get specification on the expectation of this issue and what the application should be like? I'm not able to decide this.
@olatechpro Yes, sorry, this is a random collection of requests
I'm looking at ways we can hook into the orders screen and the options really are limited.
For example, "Product Categories". Well, the orders aren't in those categories. Or orders from wholesalers ... that could come from a dozen different 3rd party plugins.
I think we have a lot of different customers requests that might need to be handled by individual solutions. I'm not sure what common solutions we could build into a plugin.
@stevejburge taking this one by one.
So, The request: Limiting specific roles to only see orders for specific category? The proposal: Add a multi role selection dropdown to woocommerce category screen when adding new category or editing old category and selected roles will be excluded from seeing or allowed to see orders in this category based on specification?
Will the proposal above work or can you kind of provide proposal to this implementation?
I don't want to do this on my own and end up doing something entirely different from intention
@olatechpro I'm not sure if this is worth doing to be honest. I think the customer requests are too fragmented
Controlling who can see orders has been a common request.
One request:
And another:
We also have a request for permissions on different order statuses: https://github.com/publishpress/PublishPress-Capabilities/issues/95