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

AdamPS’s picture

Title: Changing role names » Changing role names loses permissions
AdamPS’s picture

Assigned: Unassigned » AdamPS

I 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.

AdamPS’s picture

Status: Active » Needs review
AdamPS’s picture

Issue tags: +beta2
AdamPS’s picture

Version: 7.x-1.x-dev » 7.x-2.0-beta1
Status: Needs review » Closed (fixed)

Fix now available in latest release