User Register Role URL
smokris - March 16, 2008 - 02:26
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_patientwill 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_editorwill 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 releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 5.x-0.1 | 2008-Mar-15 | 6.66 KB | Download · Release notes | Recommended for 5.x | |
