Closed (fixed)
Project:
CRM - Contact Relationship Management
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 May 2026 at 01:28 UTC
Updated:
30 Jun 2026 at 02:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bluegeek9 commentedComment #3
bluegeek9 commentedThe existing group plugin could stay with CRM, and a seperate project that makes the contact map to a group could be a seperate project.
Comment #5
mortona2k commentedAgree with #3. This should make crm_group functionality optional, for sites that want to do the integration differently, but still want the existing group/contact relation plugins.
Comment #6
mortona2k commentedHere's the new group type settings.
Comment #7
mortona2k commentedHere's the primary contact field on the group edit form. It is synced from the crm_group_contact_mapping entity after that is created.
This probably needs adjustment. It's confusing to create the Group before the contact, and if the automatic setting is selected, corresponding groups should automatically be created if there is are existing contacts, and if a group is created before the contact, the corresponding contact could be generated with the same name (or creating the group first just doesn't make sense).
This is in violation of "No stored principal entity reference field on the group entity." but I wasn't sure what else to do. It's an entity reference field, but the intent is to manage it from crm_group_contact_mapping.
Comment #8
mortona2k commentedRemoved mentions of moving GroupContact relationship plugin.
Comment #10
bluegeek9 commentedComment #11
mortona2k commentedI think we need to specify a way for contacts with a given relationship to automatically be added as group contacts, or members of the group with a role.
For example, contacts with an employee relationship get automatically added as group content so they can be viewed and edited by members of the group. And contacts with an admin relationship get added as members of the group with an admin role that grants edit permissions.
Comment #12
mortona2k commentedWe'll also need way to re-sync things if config is changed, or if this module is added to an existing site.
Comment #14
bluegeek9 commentedI created a new project: https://www.drupal.org/project/crm_group
The crm project needs to integrate with core modules, and has a larger than average code base. The group content plugin will remain in the crm namespace, but the rest of the group integration will live in crm_group.
Comment #16
bluegeek9 commented