main ← fix-permissions-staff-action-logs-with-localized-group-names
opened 10:22PM - 13 Dec 25 UTC
When saving a category with default "everyone" permissions in non-English forums…, staff action logs incorrectly showed a permission change even when nothing changed.
The issue occurred because the backend fallback for empty permissions used the hardcoded English string "everyone", but the frontend sends the localized group name (e.g., "jeder" in German). This mismatch triggered false log entries.
Changed the fallback in categories_controller.rb to use Group[:everyone].name which returns the actual localized group name from the database.
Ref - https://meta.discoure.org/t/335600/14