Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just curious, can this module allow an authenticated user to change only their role/roles from a predefined set of roles?
If so, this could be used with the Auto Assign Role module to allow a user to select a role on signup and then using the role_delegation module allow the user to change their own role.
Comments
Comment #1
David Lesieur CreditAttribution: David Lesieur commentedYes, authenticated users may assign themselves specific roles allowed by their current role. However, they may also assign roles to other users if they have access to their profiles.
I have not tested Auto Assign Role with Role Delegation, but it is very likely that you can use both modules together.
Comment #2
gmclelland CreditAttribution: gmclelland commentedThank you for the reply. I think I misunderstood this module's purpose. It looks like http://drupal.org/project/user_selectable_roles would be a better fit.
Thanks again.
Comment #3
xqbzzr CreditAttribution: xqbzzr commentedOk, and how do I prevent users from changing their own roles?
I want my moderators to only change roles of other users. If they themselves want another role, they should ask another moderator to alter their roles. How can that be achieved?