- Players without admin permissions can be moved to a different permission group by a mod/command/script
- Create new permission groups with names like: "1", "2", "3" etc via a mod or manually
- Demote an admin using /demote nickname
- Change its permission group via command/script
- 1st case: using LuaPermissionGroup.add_player in a command, it didn't change permission group for player and returned false as result in LuaPermissionGroup.add_player.
- 2nd case: in on_player_demoted event in a mod, it changed permission group for player successfully and returned true as result in LuaPermissionGroup.add_player.
- I checked it in single-player only
- I didn't check it with all events and defines.input_action
- I set defines.input_action.edit_permission_group as true for all groups, otherwise it won't allow me to move admins etc between groups via command/script
- I noticed it in my mod