i am new to drupal i have issue like this i created 3 roles,in that create user permission is also one among that,i want when they are creating user hide only admin role from them apart from that they can give any role to user.


alinouman’s picture

to use display:none in css otherwise use hook_form_alter. feel free to ask if u choose hook_form_alter.

mageshkumar’s picture

i want when particular role user for example xxx user have test role permission using he can create roles at the same time when he creating user he can select the role also,in that role only i want to the roles which i created by xxx user.

role1,role2 is created by user xxx,when he creating the user i want to show only role1 and role2.

thanks in advance.