The 6.x-1.2 upgrade introduced a permissions related bug. This causes users to get an 'access denied' message on the cart/paygate/complete page.

I am not sure if the intention of the recent page was to add a new permission that would be set by the administrator or to have a function that does some relevant checks.

I assumed the former and have created a patch accordingly (if it was the latter, you should use 'access callback' and not 'access arguments').

Note that this patch will have implications for those upgrading the module. They will need to assign the permissions to the required roles or those users will no longer be able to use this. The documentation will need to be modified accordingly.

CommentFileSizeAuthor
uc_paygate_access_fix.patch886 bytesgomez_in_the_south

Comments

Max_Headroom’s picture

Status: Active » Fixed

Actually, the menu callback should not be under permission control.
This 'bug' was carried over from 5.x upgrade.
Fixed and commited.

Status: Fixed » Closed (fixed)

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