The "Move to wishlist" view button that can be added to the cart view (and possibly elsewhere?) does not check the "access wishlist" permission before displaying the button.
This means that anon users can add items to a wishlist they cannot access.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3137162-4.patch | 3.42 KB | alexdoma |
| #2 | check-permission-for-move-to-cart-button-3137162-2.patch | 1.44 KB | rhovland |
Issue fork commerce_wishlist-3137162
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rhovlandPatch based off of https://www.drupal.org/project/commerce_wishlist/issues/3045799
Not sure if this is the correct way to do this, but it works.
Comment #3
rhovlandComment #4
alexdoma commentedre-roll patch
Comment #7
vmarchukAdded a small fix for Drupal coding standards and opened MR.
+1 to RTBC
Comment #10
jsacksick commentedMerged, thanks!