- 🇳🇱Netherlands arantxio Dordrecht
Tested this in our environment and helps us a bunch. Still works for commerce 2.35. Thank you!
- 🇮🇱Israel jsacksick
Would have been nice to have this handled by the Entity module. Unfortunately, ✨ Add: "View any unpublished [entity_type]" permission Needs work never landed.
- First commit to issue fork.
44:09 43:10 Running- Status changed to Needs work
almost 2 years ago 4:23pm 23 May 2023 - 🇺🇸United States mglaman WI, USA
The code needs work to make it more readable and reduce cognitive load. Also, the logic is redundant. Why add an
OR
condition for a boolean field when allowing both states? 14:06 13:10 Running- Status changed to Needs review
almost 2 years ago 1:14pm 20 June 2023 - last update
almost 2 years ago 777 pass, 2 fail - 🇩🇪Germany mkalkbrenner 🇩🇪
ProductQueryAccessHandler within the current MR contains lot of code copied from its base class. I think we should avoid that redundancy and simplify the patch.
I don't want to change the existing MR, so I created a patch.
- last update
almost 2 years ago 786 pass - last update
almost 2 years ago 786 pass - 🇩🇪Germany mkalkbrenner 🇩🇪
Even if all tests pass, the commerce_products view breaks using the patch in #16. It just displays unpublished products.
I think I fixed that now.In general in would be better to solve ✨ Add: "View any unpublished [entity_type]" permission Needs work , but we need this feature quickly, so we use this patch here.
- Status changed to RTBC
3 months ago 7:59am 16 January 2025 - 🇮🇱Israel jsacksick
Since we're depending on the entity module, I also think it makes more sense to add support for the "view any unpublished [entity_type] permission" there to avoid duplicating the logic in Commerce.
- 🇩🇪Germany Anybody Porta Westfalica
Thanks! Postponed on ✨ Add: "View any unpublished [entity_type]" permission Needs work
- 🇮🇱Israel jsacksick
Even if the Entity API fix lands, we'll still need to update Commerce, so we need to keep this opened :). But I guess "postponed" is an okay status.