The specified callback has different arguments as required by entity_access(), see http://drupalcontrib.org/api/drupal/contributions--entity--entity.module...

I just fixed #1248912: fix rules-config access to properly check for edit access what makes Rules properly check all the access callbacks and lead to a bunch of errors, because it tries to check entity access.

Comments

rszrama’s picture

Hmm, yeah, I wonder if it's worth it for us to rewrite commerce_entity_access() now or to just write a wrapper for it... will check with Damien.

damien tournoud’s picture

Status: Active » Needs review

It's actually an easiest fix then anticipated. We are basically linking the access control on payment transaction to the access control of the order it is attached to.

Patch in 23999ef in the sprint repository.

damien tournoud’s picture

Fixed patch in 94e30b6 in the sprint repository.

damien tournoud’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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