These commands are all run through admin or (for rust only) rcon connection with Rust Admin (So you need to have set an rcon password via your command line changer utility on the game panel and connect with rustadmin to your server IP, rcon port and server port).
For commands sent as an in-game admin you may have to add a / before each command (e.g. /group add group_name for example).
1) Create a new group:
oxide.group add group_name
2) Add a player to the groupe:
oxide.usergroup add player_name group_name
To remove a player from a group:
oxide.usergroup remove player_name group_name
3) Grant a permission to a group or to a player:
- to a group:
oxide.grant group group_name permission_name
- to a player:
oxide.grant user player_name permission_name