User Register Role URL

Component ID

234761

Component name

User Register Role URL

Component type

module

Development status

Component security advisory coverage

not-covered

Downloads

949

Component created

Component changed

Component body

NOTE: This module is deprecated in favor of Auto Assign Role, which can be configured to provide the same functionality (and much more)

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.