RoleAssign specifically allows site administrators to further delegate the task of managing user's roles while withholding the Administer permissions permission.

RoleAssign introduces a new permission called Assign roles. Users with this permission are able to assign selected roles to still other users. Only users with the Administer permissions permission may select which roles are available for assignment through this module.

RoleAssign is ideal for smaller sites with a system administrator and one assistant administrator role that should be reasonably restricted in what it allows. For larger sites with multiple levels of administrators or whenever you need finer-grained control over which role can assign which other role, check out Role Delegation. See #961682: Does the role delegation module supersede this module? for a short discussion of the relative merits of the two modules.

RoleAssign was developed by TBarregren.

Background

It is possible for site administrators to delegate the user administration through the Administer users permission. But that doesn't include the right to assign roles to users. That is necessary if the delegatee should be able to administrate user accounts without intervention from a site administrator.

To delegate the assignment of roles, site administrators have had until now no other choice than also grant the Administer permissions permission. But that is not advisable, since it gives right to access all roles, and worse, to grant any rights to any role. That can be abused by the delegatee, who can assign himself all rights and thereby take control over the site.

This module solves this dilemma by introducing the Assign roles permission. While editing a user's account information, a user with this permission will be able to select roles for the user from a set of available roles. Roles available are configured by users with the Administer permissions permission.

New Maintainer: salvis

I have received maintainership of this module to take it to Drupal 7. I intend to keep it simple and effective as it has always been. Thanks to the author and previous maintainers for their fine work.

RoleAssign for Drupal 7

We have RC1 for D7. Please test it and provide feedback. See #1245644-3: RoleAssign for D7 — RC1 for details.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0 tar.gz (10.5 KB) | zip (12.44 KB) 2011-Aug-10 Notes

Other releases

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (12.1 KB) | zip (14.62 KB) 2012-Feb-08 Notes
6.x-1.x-dev tar.gz (10.73 KB) | zip (12.68 KB) 2011-Sep-06 Notes

Project Information


Maintainers for RoleAssign

  • salvis - 25 commits
    last: 2 days ago, first: 29 weeks ago
  • TBarregren - 39 commits
    last: 2 years ago, first: 5 years ago

Issues for RoleAssign

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 4 Nov 10
nobody click here