The Contextual Admin module has a "Create user" feature, but due to some settings options, it does not directly use the user_register_form
form. Instead, it references user_register_form
and makes some modifications to #access
values. This is done via a form defined as context_admin_user_create_menu_render_form
.
I've written a patch that integrates Role Delegation capabilities into Contextual Admin. It is available here for review: https://www.drupal.org/node/2700755 The problem is Role Delegation is unable to run this functionality because of the difference in $form_id
values.
I will post a patch in a few minutes that simply adds context_admin_user_create_menu_render_form
to the role_delegation_form_alter
function. Doing this allows the patch I've written in Issue #2700755 to work correctly.
Comment | File | Size | Author |
---|---|---|---|
#2 | role_delegation-support_context_admin-2700759-2.patch | 1.29 KB | ron_s |
|
Comments
Comment #2
ron_s CreditAttribution: ron_s commentedAttached is a patch for review. Let me know if there are any questions, thanks.
Comment #3
ron_s CreditAttribution: ron_s commentedSetting status to review.
Comment #4
JeroenTIt’s been a while since the last comments in this issue. If this is still a problem feel free to reopen and provide patches.
Comment #5
ron_s CreditAttribution: ron_s commentedAnd just like I mentioned on the other one... we're still using this, and the patch #2 is valid and works. Please commit.
Comment #6
ron_s CreditAttribution: ron_s commentedPatch #2 still applies cleanly to the latest -dev version.
Comment #7
ron_s CreditAttribution: ron_s commentedPatch #2 still applies cleanly to the latest 7.x-1.3 version.