Currently the "role by path" feature is used in the registration form and anonymous users can use it, that's good.

What I'd like is the possibility to set the role by path for authenticated users with the privileges to create new users.

Example:

We have a "manager" role which can create/edit users and a set of user assignable roles (role_[1..n]).
Instead of using admin/user/user/create path and after go back to the edit user form to assign the role (using a checkbox), "manager" users could have a create user with role_x link for creating new users and automatically assign the correct role.

Currently I'm using role delegation module in order to allow "manager" to set the role but I've two problems:

  1. the role need to be set after the user has been created
  2. the "manager" can set more than one role using the checkbox provided

So I'm thinking about use Auto Assign Role module which allows to match a path with a role assignement when an user is created.

What do you think about this feature?

Comments

finex’s picture

I've thought about this idea because I've to find a way to solve this problem: http://drupal.org/node/673732

finex’s picture

Issue tags: +role