Install

Works with Drupal: ^10.1 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 67.07 KB
MD5: 720b3587421cc5011af7a7d69b5579e8
SHA-1: 66cf93a384353fdef009cedcc0d7d5dda7efb3ad
SHA-256: f879ae64c556a760b207bd0f54bfd434124471e6dd5b6a17710b2e71e3c38421
Download zip 123.44 KB
MD5: da69c5d19871172a7c8aa7ea347df8f5
SHA-1: 53cf48700b5a6541e4e71d3b84a3d386b4b6e6b3
SHA-256: fd9a9ed94e4251a9e69d26fc74b5133254d8d388210c5995e2e41d12797dcf4a

Release notes

This release fixes an access bypass in the user affiliate views. Please update and run drush updb.

The clicks, conversions and campaigns pages under /user/{user}/affiliate/ accepted all in place of a user ID, which skipped the argument validator and listed every affiliate's records. Sites installed before 1.0.0-alpha3 also had a broken user filter on the campaigns page, so it listed every campaign. The campaigns admin page at /admin/config/affiliate/campaigns only required the "view own affiliate_campaign entities" permission, so every affiliate could see all campaigns.

affiliated_update_10005() fixes existing sites:

  • Removes the all exception from the user argument of the three views, and returns "not found" when no user ID is given.
  • Repairs the campaigns user argument on sites installed before 1.0.0-alpha3.
  • Changes the campaigns admin page to the "view any affiliate_campaign entities" permission, if it still has the permission the module shipped.

If you changed or removed the user argument on one of these views, the update leaves it alone and says so. Check that those views only show the current user's data.

Created by: loze
Created on: 5 Nov 2026 at 11:17 UTC
Last updated: 5 Nov 2026 at 11:17 UTC
Bug fixes

Other releases