The permissions for roles isn't working. I've had a look at the code in uc_donation.module, and the following function:
function uc_donation_access($op, $node, $account){
uc_product_access($op, $node, $account);
}
Should be returning something in order for the permissions to be granted.
function uc_donation_access($op, $node, $account){
return uc_product_access($op, $node, $account);
}
I've tested it, and it works for me. I've also rolled a patch for ease of use.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_donation.patch | 630 bytes | benedictsteele |
Comments
Comment #1
justindodge commentedI came across this issue as well. I implemented the same fix and it worked fine. In the process of creating an issue for it, I came across this patch. I've marked the issue as 'reviewed & tested by the community'.
Comment #2
Jackinloadup commentedThanks this solved my problem as well.
Comment #3
greenskin commentedCommitted.