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.
The latest version enable authenticated user see everyone's addressbook just by change the number in the url contextual argument.
I'm not sure it's something wrong with my permission or it's a bug.
Comment | File | Size | Author |
---|---|---|---|
#2 | commerce_addressbook-fix-addressbook-permission-1996654-2.patch | 1.4 KB | jsacksick |
Comments
Comment #1
jsacksick CreditAttribution: jsacksick commentedYou're right, this bug has been introduced by the patch coming from this issue #1961854: Address Book tab not displaying for authenticated users.
Comment #2
jsacksick CreditAttribution: jsacksick commentedCan you try with that patch ?
Comment #3
jsacksick CreditAttribution: jsacksick commentedI decided to go ahead and I merged it.
Comment #4
relaxpor CreditAttribution: relaxpor commentedSorry guy, the last patch give me fatal error.
Something wrong with this show in the log.
[17-May-2013 22:51:30 Asia/Bangkok] PHP Fatal error: Call to undefined function user_access() in /Applications/MAMP/htdocs/himaparn/sites/all/modules/contrib/commerce_addressbook/commerce_addressbook.module on line 173
[17-May-2013 22:51:30 Asia/Bangkok] PHP Stack trace:
Comment #5
caktux CreditAttribution: caktux commentedConfirmed #4
Comment #6
caktux CreditAttribution: caktux commentedComment #7
yaslama CreditAttribution: yaslama commentedIt seems that the problem of #4 is caused by bad characters in lines 173 and 174 of commerce_addressbook.module.
One can see them clearly in the diff: http://drupalcode.org/project/commerce_addressbook.git/blobdiff/8b058a84...
Comment #8
relaxpor CreditAttribution: relaxpor commentedafter delete this character, it's fixed!
Comment #9
agileadamI can confirm the bug in #7. Removing these characters fixes the "Call to undefined function user_access()" issue.
Comment #10
jsacksick CreditAttribution: jsacksick commentedA new version has been tagged without the characters already, you should use that one.