User 1 can see the addressbook in both their tab and /user/1/addressbook but authenticated users cannot see either the tab on their account or at /user/?/addressbook (where ? is their user ID). Get Access Denied - You are not authorized to access this page.

I do not see addressbook in permissions.

Where would I set Address Book to show for users?

Comments

tobiasb’s picture

The permissions are in the Customer section.

finnhappy’s picture

I also couldnt find it - so if you will have the same problem as me and the previous answer is not enough:

Go to admin/people/permissions and there is a section Customer, here you need to check Edit own Billing information customer profiles and/or Edit own Shipping information customer profiles.

Anonymous’s picture

@finnhappy mentions the Edit permissions, but obviously you will have to set the corresponding View permissions first, if you haven't already done so i.e. "View own customer profiles of any type".

jsacksick’s picture

Status: Active » Fixed
JonesUI’s picture

Note to myself (any anyone else who lands here):

You also need to set permissions to allow:
"Edit own customer profiles of any type"

Otherwise the "Address Book" tab will not show up.

Status: Fixed » Closed (fixed)

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

fpastor’s picture

You have to enable permissions on the customer section:

  • Create Billing information customer profiles
  • Edit own Billing information customer profiles
  • View own Billing information customer profiles

And then the customers can view the Addressbook tab and edit their own address or add new addresses

glimberg’s picture

Issue summary: View changes

Can this topic be reopened for some assistance?

I was running version rc3 of this module and experienced the same problem. I assured the permissions were enabled for authenticated users based on fpastor's note from 5/4/13 (update the create, edit and view options) and it still did not work.

I noticed this condition was shown to be fixed in rc5, so I tried rc5, no luck.....currently have rc7 installed and I am still not able to get the address book to display for any roles other than admin.
Is there some other configuration setting I should be modifying?

glimberg’s picture

Version: 7.x-2.0-rc2 » 7.x-2.0-rc7
Status: Closed (fixed) » Active

I was running version rc3 of this module and experienced the same problem. I assured the permissions were enabled for authenticated users based on fpastor's note from 5/4/13 (update the create, edit and view options) and it still did not work.

I noticed this condition was shown to be fixed in rc5, so I tried rc5, no luck.....currently have rc7 installed and I am still not able to get the address book to display for any roles other than admin.
Is there some other configuration setting I should be modifying?

glimberg’s picture

I have figured out what the problem was. As mentioned, I did have the correct permissions selected for the users, however, in looking at the actual code of the module, I discovered that it also requires the user to have a commerce account ID established when it is checking permissions to see if a user can create, edit or view their own profiles. Since we are developing a new Drupal site from scratch and imported the user data base, none of the users had a commerce account ID setup.

Therefore, the module works correctly. I will have to find out how to create commerce account ID's without going through a commerce transaction process for each user.

glimberg’s picture

Status: Active » Closed (fixed)

Closing item per previous post.

voloda86’s picture

I created a new issue similar to this one, because this is closed.
I can see address tab and only one billing address and one shipping address.

drupal.org/node/2218119

geek-merlin’s picture

caspervoogt’s picture

For what it's worth, I had this issue as well (rc7) and the only thing that got the addresses showing for regular users was to give them "Administer customer profiles" permission in addition to the following;

Create customer profiles of any type
Edit own customer profiles of any type
View own customer profiles of any type
Create Billing information customer profiles
Edit own Billing information customer profiles
View own Billing information customer profiles
View any Billing information customer profile

Not sure if giving regular users "Administer customer profiles" is a good thing though.

geek-merlin’s picture

> Not sure if giving regular users "Administer customer profiles" is a good thing though.

NO.

caspervoogt’s picture

Right ;) I knew as much - was being understated. My point was something's screwy with the permissions, at least in my case, and I wanted to alert others.