Add Product form - List stores created by the logged user

Created on 10 January 2024, 6 months ago

When adding/editing a product, how do I ensure that only the stores created by the logged in user are listed?

I just started using Drupal Commerce, when adjusted the permissions settings to ensure that logged in users can only interact with products and stores of their creation. However, whenever I attempt to add a product, I see that all the available stores are listed, even the ones that I did not create myself

Am not sure if someone has encountered and fixed this

I sniffed around the ProductForm class, but struggled to understand how the stores are being retrieved

💬 Support request
Status

Closed: won't fix

Version

2.0

Component

Product

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024