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.

Comments

cam8001’s picture

Um, that patch is incorrect. Must have got a bit slap happy with vim. This is the one!

Vincenzo’s picture

Patch makes sense. Not sure has got anything to do with multilingual though.
However, testing this one, as I came across this one myself.