Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
tobiasbThe permissions are in the Customer section.
Comment #2
finnhappy CreditAttribution: finnhappy commentedI 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.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commented@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".
Comment #4
jsacksick CreditAttribution: jsacksick commentedComment #5
JonesUI CreditAttribution: JonesUI commentedNote 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.
Comment #7
fpastor CreditAttribution: fpastor commentedYou have to enable permissions on the customer section:
And then the customers can view the Addressbook tab and edit their own address or add new addresses
Comment #8
glimberg CreditAttribution: glimberg commentedCan 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?
Comment #9
glimberg CreditAttribution: glimberg commentedI 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?
Comment #10
glimberg CreditAttribution: glimberg commentedI 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.
Comment #11
glimberg CreditAttribution: glimberg commentedClosing item per previous post.
Comment #12
voloda86 CreditAttribution: voloda86 commentedI 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
Comment #13
geek-merlinComment #14
caspervoogt CreditAttribution: caspervoogt commentedFor 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.
Comment #15
geek-merlin> Not sure if giving regular users "Administer customer profiles" is a good thing though.
NO.
Comment #16
caspervoogt CreditAttribution: caspervoogt commentedRight ;) 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.