Integration with civicrm

frogdog - March 4, 2009 - 16:10
Project:Masquerade
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I use civicrm custom fields which are made into a civicrm profile which outputs these fields to also display under a user's drupal account.

For example, I have my civicrm mailing list options showing for each user under a Mailing Lists tab in their Account.

These custom fields are set in with civicrm permissions "User and User Admin Only". However, when I masquerade as a user, I cannot view these custom fields in the drupal account, even though I should be able to. If i actually manually log in as that user, I can see the fields such as mailing list options.

Would there be any way of getting the masquerade module to also put these permissions through so I can view when masquerading? (there's probably some technical term i should be using here but am not a programmer). It would be very handy instead of having to switch back into civicrm.

Thanks for the great module - it is very useful already.

#1

deekayen - March 4, 2009 - 17:33
Status:active» postponed (maintainer needs more info)

I only had CiviCRM 2.2 beta 3 installed, but it looked like all I had to do was modify the userID parameter of a huge array that CiviCRM sets in the Drupal sessions table. It's in the Drupal 5.x and 6.x branches ATM, and I'm working on HEAD a bit longer to make some other 7.x updates. The -dev snapshots update every 12 hours, but if you download it from http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/masquerade/..., and report back, then I know if this can be closed.

#2

frogdog - March 4, 2009 - 23:09

Hi, wow thanks for the fast response. I tried that download but unfortunately it's not working for me, as in I still can't see private civicrm profile details in masquerade mode. I'm on civicrm 2.0.6.

#3

deekayen - March 4, 2009 - 23:12
Status:postponed (maintainer needs more info)» active

I'm not sure where to go from here. Prepare for this request to sit idle for a while.

#4

frogdog - March 4, 2009 - 23:22

Ok, at least i can switch back and forth masqing in the meantime.
In case you haven't seen it, I found this comment about civicrm which might explain part of the problem. http://issues.civicrm.org/jira/browse/CRM-3645

#5

deviantintegral - August 28, 2009 - 19:05
Version:5.x-1.3» 6.x-1.x-dev
Status:active» duplicate

Given the complexity of CiviCRM, I think the best way to solve this is to provide hooks for another module to integrate fully with CiviCRM. I'm marking this as a duplicate of #324292: Adding hooks into Masquerade.

 
 

Drupal is a registered trademark of Dries Buytaert.