If I set "Access Own Redhen Contact" permission for authenticated users any drupal authenticated user can view contact data of any other user in drupal profile page. On the other hand "Access Redhen Contacts" permission is not working at all. (Drupal core 7.41)

CommentFileSizeAuthor
#2 access_own_redhen-2627940-2.patch1.05 KBgcb

Comments

giomax created an issue. See original summary.

gcb’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

I'm not sure what your "on the other hand" clause means. Can you be more specific? Also, if it is a separate issue, please create a new issue for it.

I had a little trouble reproducing the issue, but certainly the hook_user_view was returning incorrectly in this case. Please test the attached patch.

  • gcb committed 5054a1a on 7.x-1.x
    Issue #2627940 by giomax: Access Own Redhen Contact permission not...
gcb’s picture

Status: Needs review » Fixed
giomax’s picture

Sorry for the delay. Perfect, now changes to "Access Own Redhen Contact" and "Access Redhen Contacts" permissions are reflected correctly on drupal user profile pages. Thank you.

Status: Fixed » Closed (fixed)

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