How do I add a user with this permission?

twooten - October 6, 2009 - 11:33

I need to add a user that has the ability to add new users and put them into a particular role. I created a "staff" role and gave it permission to add new users which works great. But I can't seem to find how to allow the staff person to be able to put a new user into a certain role.

Thanks.

Tim

Try this:

PepeMty - October 6, 2009 - 11:55

At your role page (/admin/user/roles) click on "edit permissions" of your Staff role.

Look for the User module and check the appropriate permissions. :-)

Warm regards from sunny México!
Pepe
:-)

Hi Pepe, that is what I

twooten - October 6, 2009 - 12:52

Hi Pepe,

that is what I thought too but these are my options;

access user profiles
administer permissions
administer users
change own username

Nothing to do with assigning roles.

I'm sure it's there somewhere, I just am not seeing it.

Thanks

Wishing I was in Mexico!
Tim

I think u need to allow

grawat - October 6, 2009 - 14:07

I think u need to allow "staff" to administer users. That will allow them to edit a user profile and assign / change roles.

Solved!

twooten - October 6, 2009 - 14:45

I found the roleassign module http://drupal.org/project/roleassign

Normally you have to give a user the "Administer Permissions" permission. Problem with that is it lets the user assign him/herself or anyone else to any of the roles you have created. Perhaps you have a role that is granted admin privileges and you do not want your delegated user to be able to assign other users to that role.

Enter the roleassign module, It creates a new permission, "assign roles", that will let your delegated user assign others to only those roles you have set up for assignment. sweet!

I'm glad you solved it

PepeMty - October 6, 2009 - 17:56

True, allowing a user to administer users can be dangerous... pretty much with any permission, actually. ;-)

But, we were supposed to start with a trusted user, weren't we? LOL!!!

Anyway, I'm glad you found your way out.

Warm regards from sunny México!
Pepe
:-)

 
 

Drupal is a registered trademark of Dries Buytaert.