Civi 4.6.4 / Drupal 7.38

Goal: Allow a constituent to add family members to their membership.

Issue: When a constituent adds family members, via a civi web form, the relationship is created properly, however the child does not inherit the membership. However, if as the admin, I go in and edit the relationship, make no changes, and save, the membership is now inherited properly.

In the webform, I am adding the relationship, but not adding any membership...I'm assuming this is not necessary. The parent has an established, active membership at the time of form submission.

Has anybody experienced this or is using another process to achieve this goal?



3 Answers 3


There is a bug that requires the acting user to have "access CiviMember" permission or the inherited memberships fail to be processed. I've submitted a fix for this which hopefully will be part of the next (4.6.5) release.


Reading the code, this really should be working. The webform creates the relationship via the api, which calls CRM_Contact_BAO_Relationship::create, which in turn calls disableEnableRelationship which handles related memberships. Can you check your drupal error logs for anything from the webform?

  • Thanks Coleman for taking the time to reply. Unfortunately nothing in the recent error logs. Jul 4, 2015 at 14:47
  • I think I have a permissions issue. If I add the administrator role to the user, after the membership is created, but before the webform to add a child is submitted, everything works as suspected. Researching now on what permission is needed, but would be grateful if anybody can point me to it straight away. Jul 4, 2015 at 15:01
  • Confirmed permission issue. CiviMember: access CiviMember was not enabled for this role. Jul 4, 2015 at 15:38

The CiviMember: access CiviMember permission was not enabled for the role in question. Adding this permission solved the problem.

  • This is a good workaround but I think this is still a bug. Inherited memberships working properly should not be dependent on the permissions of whoever happens to be logged in. I'm filing an issue for this...
    – Coleman
    Jul 4, 2015 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.