Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm running a site where users can add both a product display and a product. I do not want the users to see every possible listing in the product reference field when creating or editing a product display. I would like the users to see and edit only their own products.
This works (sorta) when I turn use the Users UUID in a view contextual filter.
In my opinion this is a non functional featue. Has anyone figured out a solution or work around?
Comments
Comment #2
spencerthayer CreditAttribution: spencerthayer commentedComment #3
rszrama CreditAttribution: rszrama at Centarro commentedFortunately, this will be improved in 2.x. The solution in 1.x would be to use an entity reference field with a custom View that filters the option list to products created by that user. In other words: the permission was the wrong thing for your requirement.
For future support requests, please use https://drupal.stackexchange.com.