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 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 commentedCan you try with that patch ?
Comment #3
jsacksick commentedI decided to go ahead and I merged it.
Comment #4
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 commentedConfirmed #4
Comment #6
caktux commentedComment #7
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 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 commentedA new version has been tagged without the characters already, you should use that one.