Hello,

I have an account_1 with role_1 (capacity to create other accounts), role_2, role_3, role_4.
In the form to create account, role_1, role_2, role_3, role_4 appear in the list.
account_1 create an account_2 with role_1, role_2, role_3.

When account_2 wants to create an account, he has also the choice between all the roles, not only the role he as the right.
So, in the form to create account, account_2 see role_1, role_2, role_3, role_4.

Is it possible for account_2 to see (and select if necessary), only the role he has itself, in my example role_1, role_2, role_3 ?

Comments

vinayak nair’s picture

hi,
you should try these modules to assign specific roles by users.
role assign module::https://www.drupal.org/project/roleassign
administer user by role module::https://www.drupal.org/project/administerusersbyrole
and if you want to allow non-admin user to assign roles then you can use this module::
https://www.drupal.org/project/ucreate

Anonymous’s picture

Thanks.

Going from link to link, i've found these 3 modules :
https://www.drupal.org/project/administerusersbyrole
https://www.drupal.org/project/role_delegation
https://www.drupal.org/project/roleassign

I'll try them to find the one which is better for me.