I seem to be having an issue with am authenticated user being able to edit addresses entered.
I have it set up so users can add multiple contacts within their account profile.
"Users may have several addresses, like an address book"
Auth-user has permission - "create address book"
Auth-user is able to create addresses and delete addresses but getting "Access Denied" error when trying to Edit an address.
Great module, thanks!
Comments
Comment #1
crutch commentedoops, now that I reread, maybe the last comment appears sarcastic, not intended to be sry, I really like this module but having issues with edit address.
Comment #2
crutch commented...when clicking Edit within the User Profile under Addresses tab, it continues to this link http://localhost/user/3/address/edit/3?destination=user%2F3%2Faddress
and says Access Denied. Using D6.12 & Addresses 6.x-1.05.
Comment #3
dave_______1 commentedHaving the same problem too.
It seems the only way I can alow a customer to update there address book is to give them access to "administer users"!
Comment #4
JeschMB commentedSame problem here i think i found the reason
addresses_user.inc, line 130
should be :
elseif (empty($access) and $edit['eid'] != $uid) {instead of:
elseif (empty($access) or $edit['eid'] != $uid) {but im not sure, i didn't check the whole source
Comment #5
codycraven commentedI have committed the necessary change to make this work.