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.
Tried to search for a duplicate. Weird this hasn't happened to anyone else. When I change role names, permissions for "administer users by role" are wiped from the role I changed the name for.
Comments
Comment #1
AdamPS CreditAttribution: AdamPS commentedComment #2
AdamPS CreditAttribution: AdamPS commentedI intend to fix this as part of #2378869: Meta-issue for Beta 2 release. Please sign up as a follower of that issue and there will shortly be a patch that I would like feedback on.
The fix is to use role ID rather than role name to build the permission. We still use the name for the title that is visible to users.
Comment #3
AdamPS CreditAttribution: AdamPS commentedComment #4
AdamPS CreditAttribution: AdamPS commentedComment #5
AdamPS CreditAttribution: AdamPS commentedFix now available in latest release