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

crutch’s picture

oops, 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.

crutch’s picture

Issue tags: +user profile

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

dave_______1’s picture

Having 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"!

JeschMB’s picture

Same 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

codycraven’s picture

Version: 6.x-1.05 » 6.x-1.x-dev
Category: support » bug
Status: Active » Fixed

I have committed the necessary change to make this work.

Status: Fixed » Closed (fixed)
Issue tags: -user profile, -Edit Addresses

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