Problematic anonymous access to "product display" views having a join to the product
I created a view a product display and I wanted to only show product displays associated to specific product types.
So in views I added a join to the Product Entity and added a filter for the related-product:type field.
After doing that the anonymouse user didn't see anymore the view content.
I had to alter anonymous permissions to give access to every "product" but the "permission page" docs say this is not a good idea.
What is the right way to create a view of product displays for specific types of products?