The "Accessible clients" and "Associate a client to this user" sections of the user editing form are missing. This is because the the D7-deprecated hook_user_form() hasn't been replaced with a call to hook_form_FORM_ID_alter(). This also required other code adjustments to work properly. Patching file "hosting_client.access.inc" fixes this. See attached screenshots of the page before and after patching.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

kfolsom created an issue. See original summary.

kfolsom’s picture

Issue summary: View changes
kfolsom’s picture

kfolsom’s picture

Issue summary: View changes
kienan’s picture

Status: Active » Needs review

The patch adds a couple of whitespace errors, but applies and works.

kfolsom’s picture

I'll fix those errors and re-submit the patch. Thanks for reporting it.

Keith

kfolsom’s picture

Updated patch is attached that fixes the whitespace error.

kienan’s picture

Status: Needs review » Reviewed & tested by the community

  • helmo committed ada8eaa on 7.x-3.x authored by kfolsom
    Issue #2857721 by kfolsom: "Accessible clients" and "Associate a client...
helmo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed with only a minor code style change.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.