Would it be possible to create an option to sync Civi contacts that are in a certain Civi Group (or Civi Smart Group) to a certain Drupal role, as well as the Membership Type sync that is available now?

Comments

Anonymous’s picture

Can't this already be done with the Organic Group integration module that comes with CiviCRM? You can have the content that you want accessible only to a CiviCRM group be associated with an Organic Group and then use the integration module to sync the two groups.

laryn’s picture

Status: Active » Postponed

Hmm... I'm not familiar with that module. I will have to look into it and see if it makes sense. It's not clear to me at this point but I've never used Organic Groups before and hope it won't be another layer of unneccessary complexity. I really appreciate the simplicity of sync'ing a civi membership type to a drupal role and was hoping a parallel sync option for civi group to drupal role would be possible.

Anonymous’s picture

Organic Groups is a little confusing at first, but it is a very powerful module. Syncing groups to roles would be more complex than just syncing members to roles. I think it falls outside the scope of what this module is intended for (which is very narrow). If I do make this feature I may break it away into another module because of that.

You might also want to look into the CiviNode module.

Anonymous’s picture

Status: Postponed » Active

I was contacted by another developer on the CiviCRM Forums about merging his module (which provides Roles -> Groups) and CiviMember Roles together. I have expressed interest in merging. Perhaps the inverse operation (Groups -> Roles) would result from this merge. Since this request has been made I think it will.

Here is the CiviCRM topic:

http://forum.civicrm.org/index.php/topic,4596.msg20617.html#msg20617

Anonymous’s picture

Status: Active » Closed (fixed)

Please see the news update that was posted on the project page this morning. This module is no longer being maintained on drupal.org.