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.
maybe this so evident to me functionality already exists, but I can't find it.
User could chose on registration the role, but what if he make a mistake or changed his mind, he just can't refuse from his own role.
Comments
Comment #1
hefox CreditAttribution: hefox commentedI'm working on a patch in sandbox http://drupal.org/sandbox/hefox/1214268. It allows enabling edit of the registration roles. Right now it's tied to registration roles, but thinking it could be expanded to allow a more selection.
The sandbox has at least 1 bug because it's haven't updated it since updating patch in #983612: 'Allow user to choose' functionality doesn't work.
Would that cover your use case? Haven't opened an issue for it yet since it depends on #983612: 'Allow user to choose' functionality doesn't work; I'll work on it more after that gets a more reviews and in.
Comment #2
clashar CreditAttribution: clashar commentedhefox,
will be nice to see this feature, I hope it will cover my case, ok let's wait for more reviews on #983612: 'Allow user to choose' functionality doesn't work
Comment #3
Taxoman CreditAttribution: Taxoman commentedThe admin configuration page should have the possibility to select which roles either any user cannot remove himself from.
A more flexible/complex feature would be to allow those roles to be removed by members of yet another specified role. so that only members of role x and/or y is permitted to remove themselves from role z.
(Although that is possibly outside of the scope of this module.)