Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7735

Real time member roles sync doesn't work for new users + patch

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: None
    • Component/s: CiviMember
    • Labels:
      None

      Description

      When a user first registers an account in drupal and the account ties up with a CiviCRM contact record, the membership data doesn't cause a Drupal role to be assigned. This is a problem if the method is set to 'real time' because the existing roles info will be missing.

      This patch uses hook_user to get the roles to synchronise on account creation if 'real time' is in use.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mattgibson Matt Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: