3

How do I give the "create user profile" permission to a role? I have the manager role and I want to give permission to to it to create an editor or manager user. I don't want to show all the roles on the user create or edit page.

Is there any module for achieving this?

1 Answer 1

1

Use the role delegation module

This module allows site administrators to grant some roles the authority to assign selected roles to users, without them needing the administer permissions permission.

For each role, Role Delegation provides a new assign ROLE role permission to allow the assignment of that role.

UPDATE:

Simply create two roles Manager and Editor role. When you create this roles, two permissions will appear on the permissions page. Assign Manager role and Editor role. Give the manager the two roles to assign. And also give the user permission to create new users.

And if you login as that user, that user will only be able to create the roles you have assigned to them.

UPDATE 2:

Use the module administer user by role. To stop the manager role from canceling or editing the adminstrator role or any other role you don't want them touching

This module allows site builders to set up fine-grained permissions for allowing users to edit and delete other users — more specific than Drupal Core's all-or-nothing 'administer users' permission. It also provides and enforces a 'create users' permission.

9
  • What about create new user permission? Commented Jul 30, 2013 at 9:40
  • See update to answer
    – 4life
    Commented Jul 30, 2013 at 9:52
  • ok thanks. Please see updated Question? Commented Jul 30, 2013 at 9:55
  • I checked the permission but still manager can't create user. I got access denied on admin/people/add page. Commented Jul 30, 2013 at 10:06
  • 1
    solved by drupal.org/project/view_profiles_perms Commented Jul 30, 2013 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.