User Register Role URL

Allows the user to add a fifth component on the user registration URL containing a comma-separated list of roles to be automatically assigned to the newly-created user.

For example:

  • the path http://example.com/admin/user/user/create/clinic_patient will provide a user registration page which will create a user with role "clinic patient"
  • the path http://example.com/admin/user/user/create/volunteer,content_editor will provide a user registration page which will create a user with roles "volunteer" and "content editor"

Requires the user to either have 'administer access control' permission, or permission to assign the specified role(s) using the (optional) role_delegation module.

I wrote this module as part of a Kosada Inc development project --- this allows us to create menu entries which the site's administrators can use to easily create specific types of new users (instead of having to create the user, find the user in the user list, and then add roles using the role_delegation module's "Roles" tab).

Releases

Official releasesDateSizeLinksStatus
5.x-0.12008-Mar-156.66 KBRecommended for 5.xThis is currently the recommended release for 5.x.
 
 

Drupal is a registered trademark of Dries Buytaert.