OF-2549: Fix MUC permission persistence and improve UX - Fix issue where "Only specific users/groups" selection was not preserved after adding users by ensuring roomCreationRestricted is set correctly - Replace onclick with onchange on radio buttons to improve accessibility and ensure proper event handling - Remove auto-submit from "allow all registered users" checkbox to prevent unintended state resets - Improve UI responsiveness by correctly toggling Allowed Users section without page reload - Clean up JavaScript handling for safer focus behavior
OF-2549: Fix id for tapping on the non-default option
Milan Tyagi <milantyagi2004@gmail.com>
2ff8427a44bf7434fbbc1df8e4ae977533b35e7f
OF-2549: Fix 'All registered users' checkbox cleared on Save Settings
The 'All registered users' checkbox was in the 'Add' form but not in the 'Save Settings' form. When the user checked the checkbox and clicked 'Save Settings', the value was never submitted, causing it to revert to unchecked on page reload.
- Add hidden input for allowAllRegisteredUsers in the Save Settings form
- Sync visible checkbox state to the hidden input via JavaScript
- Persist allowAllRegisteredUsers in the save handler's restricted branch
- Rename radio button id to restrictedPermissionsRadio for clarity
OF-3276: Autosetup should not try to modify admin user unless instructed
Only try to update the admin user when there are actual autosetup values provided. This prevents warnings being logged when autosetup is using a configuration that does not use the default 'admin' user.