Hi everybody.
I need to split the administration of users in different areas with an administrator who has permission to manage only the users of its area. (Manage profile, custom field in profile 2, e-commerce orders, etc).
So I need to add new Users in one or more area.

How can I do?

Comments

info@zrix.com’s picture

The possible solution for your issue is here https://www.drupal.org/project/subuser. Using this module you can assign permission like “Create

Administrator”, “Create XYZ Role User” etc … You can assign appropriate permission so users can manage own created sub users in his logins as well.

corkis81’s picture

I Need that main administrator assign user accounts to the administrator of the group or more groups

info@zrix.com’s picture

The main administrator cannot assign user accounts but he can create a role and while assigning the permissions to the role, he can check mark the permission of creating users for a particular role which already exists in the system.

For example

Suppose "Admin" is a main administrator and he created a role "Branch1" , "Branch2" etc. and then create another role lets say "North Region" which in your case is "Administrator Group". While assigning the permissions to "North Region" role you will get the list of all previously created roles stating "Create an Administrator,Create an Branch1 , Create an Branch2 " and so on. So, suppose you selected the "Create an Branch1" permisison for the "North Region" Role and saved the roles permissons.Thats enough.

Now you have to only create the user for "North Region" role.
Login via this user and try creating a user.
You will see the "Branch1" under the role list.

In this way you can accomplish your task.

I hope my explanation will work for you!!!

corkis81’s picture

Thank you for your support, maybe subuser is not my solution.
Maybe I need to create only roles like this:
-Admin A (with permission Group A)
--Group A
-Admin B (with permission Group B)
--Group B
-Admin C (with permission Group C)
--Group C
etc etc..
Main administrator can assign role Admin A (or B or C or both) to one user admin or more.
And then main administrator assign users into groups (Groups A or Groups B or Groups C or both). (with role Delegation).
Admin A, Admin B and Admin C can only edit and view their reference group.
My problem is to create a custom dinamic view with only their reference group. (or more groups if he is a admin of several groups).

What do you think about?