Project:RoleAssign
Version:6.x-1.0-beta2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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

#1

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.

#2

Status:needs review» closed (won't fix)

The Role Delegation module lets you do what you want.

nobody click here