Updated permission numbering of builtin groups and added can_use_chat permission.