- 🇳🇬Nigeria chike Nigeria
Using Drupal 10.2.3 and Commerce 8.x-2.38 I am still not able to let users see only orders on their own products.
If I understand correctly, there is no way to restrict access to only orders with products created by a user.
Because of this, we are kinda half way to a multistore. We can restrict access to view/edit 'own products' but ten we let the user access 'all orders' 'own orders' or 'no orders'. In a multistore user would have to have access only to orders which pertain to him as a seller and not be able to view orders for products of others.
1. Default permissions check does not allow for such a setup
2. commerce_entity_access() does not allow override on 'view' operation.
I can see how it could be difficult to decide on treating orders with products of multiple owners out of the box, so perhaps you could allow overriding of commerce_entity_access() also on view and this way enable a more fine grained access.
Active
2.0
Order
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Using Drupal 10.2.3 and Commerce 8.x-2.38 I am still not able to let users see only orders on their own products.