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.

Command icon 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

rhovland created an issue. See original summary.

rhovland’s picture

Patch 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.

rhovland’s picture

Status: Active » Needs review
alexdoma’s picture

StatusFileSize
new3.42 KB

re-roll patch

vmarchuk made their first commit to this issue’s fork.

vmarchuk’s picture

Status: Needs review » Reviewed & tested by the community

Added a small fix for Drupal coding standards and opened MR.
+1 to RTBC

jsacksick made their first commit to this issue’s fork.

  • jsacksick committed 7e73c8bd on 8.x-3.x authored by vmarchuk
    Issue #3137162 by vmarchuk, rhovland, alexdoma: Move to wishlist view...
jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.