Hello,
I just noticed that I could not get in with an account for which I had thought had full permissions to the affiliate module but found I could not "Administer".
Looked at the code and saw that to administer you need to have the 'administer affiliates' chosen but this option is not available in the permissions area.
Looked at the code and found:
function uc_affiliate2_perm() {
return array('act as affiliate', 'adjust user commissions');
}
I changed this too:
function uc_affiliate2_perm() {
return array('act as affiliate', 'adjust user commissions', 'administer affiliates');
}
and now it works! Thought I'd send it your way to add to the code.
Scott
Comments
Comment #1
bojanz commentedThanks Scott!
Fixed in CVS.