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.
I've tried Administer Users by Role module, but I did not see any permissions per my roles.
After several days I found: my roles had non-english names. (cyrillic)
And I did not see lines with permission by roles.
I renamed all my roles to english variants.
And now I can see permissions per roles.
Comments
Comment #1
errand CreditAttribution: errand commentedThanx, man! Had the same bug
Comment #2
geek-merlinThis shot me when i enabled a feature:
I found the permission is now
"cancel users with role AngemeldeterBenutzer"
and this is a german site.
So i had to set the permissions manually.
So if a simple change of language changes permission-names this makes the module unusable in not-untypical circumstances, so i'll set this critical.
Comment #3
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 see the patch there 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.
I've not actually tested languages, as my sites are just English, but it seems like it should do the trick. Please can you confirm?
Comment #4
AdamPS CreditAttribution: AdamPS commentedFix now available in latest release