davedotluebke / old-skool-text-game

Coding project used to learn Python
5 stars 4 forks source link

Saving acl state #158

Open 1Bayshore opened 4 years ago

1Bayshore commented 4 years ago

Currently, all changes made to game.wizards and game.groups do not save over game restarts. This means that the only way to permanently change which users are wizards, and which wizards have access to which files, is to edit the JSON file. We should instead save our constructed dictionaries to the JSON file.

Note: on the gameserver, we will need to make sure that the permissions are set so the gameserver user can edit this file.

rivques commented 4 years ago

Wouldn't letting the game server edit this file mean that any user could change the file to add anyone else?