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.
Steps to reproduce:
- Install a site with English and another language
- Set the non-English language as the default
- Go to admin/config/people/secure_permissions, select load permissions as an option
- Save the form. You will not see the "Site roles and permissions have been rebuilt successfully." message.
You can switch the site language to English as default and it will work immediately.
This is basically the same issue as reported here: #1406892: Permissions not being set correctly
Fix attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1772484-secure_permissions-multilingual_rebuild.patch | 832 bytes | Cameron Tod |
secure-permission-multilingual-rebuild.patch | 849 bytes | Cameron Tod |
Comments
Comment #1
Cameron Tod CreditAttribution: Cameron Tod commentedUm, that patch is incorrect. Must have got a bit slap happy with vim. This is the one!
Comment #2
Vincenzo CreditAttribution: Vincenzo commentedPatch makes sense. Not sure has got anything to do with multilingual though.
However, testing this one, as I came across this one myself.
Comment #3
kreynen CreditAttribution: kreynen commented