- 🇳🇱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.
4:35 3:36 Running- Status changed to Needs work
over 1 year 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? 34:32 33:36 Running- Status changed to Needs review
over 1 year ago 1:14pm 20 June 2023 - last update
over 1 year 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
over 1 year ago 786 pass - last update
over 1 year 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
about 1 month 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.