Hi,

I'm quite new in Drupal and I'd like that my user can create other user.
For example I have 3 roles :
userLevel1
userLevel2
userLevel3

I want
- the userLeve1 can create userLevel2 or userLevel3
- the userLevel2 can create userLevel3
- the userLevel3 cannot any user

How can I achieve my goal ? I didn't find the right module to do that (assign role it's not exactely what I need)

Regards,

Zitun

Comments

erika’s picture

based on your question I assume that userlevel1 is admin,userlevel2 is authenticated user and user level 3 is anonymous.....
if this is true go and set the rights in the access control....
if thats not tthe case create user roles

Home :: Administer :: User management >> Roles
Add roles,name them userlevel 1,userlevel 2 and assign permissions to them...
start creating roles from userlevel 3...
hope this helps...

zitun’s picture

Erika thanks for your answer but when you allow someone to create a user he can assign to this new user any roles.

I want a userLevel2 role can only create an authenticated userLevel3 role
I do not want to allow the userLevel2 create another userLevel2

Regards

xano’s picture

The roleassign module should do the trick, I think.

zitun’s picture

Xeno thanks for your comment but roleAssign can only be used for one permission.
I want more than one type of permission.

Any suggestions ?

Zitun

xano’s picture

You could modify the module so it can handle multiple permissions. It would require some PHP skill though.

erika’s picture

Sorry Olivier,I don't know how to do that..all the best