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.

CommentFileSizeAuthor
uc_donation.patch630 bytesbenedictsteele

Comments

justindodge’s picture

Status: Needs review » Reviewed & tested by the community

I 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'.

Jackinloadup’s picture

Thanks this solved my problem as well.

greenskin’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

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