I'm not sure if this module is even able to do this, I thought it might, but reading the documentation it seems like it doesn't.

Basically, I have 2 roles that I want all users to have access to, and I want all users to be able to switch between the two roles at will. But I don't want all users to be able to administrate users. Can this module do this? Thanks.

Comments

doka’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta2
Status: Active » Needs review

Change the line 131 of roleassign.module from this:

if (!user_access('administer users') || !user_access('assign roles')) {

to this one:

if (!user_access('assign roles')) {

I propose this change in code, because do not really see the need for the "administrate users" permission in those use cases.

salvis’s picture

Status: Needs review » Closed (won't fix)

The Role Delegation module lets you do what you want.