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.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_paygate_access_fix.patch | 886 bytes | gomez_in_the_south |
Comments
Comment #1
Max_Headroom commentedActually, the menu callback should not be under permission control.
This 'bug' was carried over from 5.x upgrade.
Fixed and commited.