Yesterday I wrote the AbiathRPC server functions for user management. Today I put together the client UI that actually uses those.
In the above screenshot, Anonymous can only authenticate with VeriMaps; it has no password set. It is also a server administrator. The Test account can authenticate with a password, but it is not an admin.
The buttons are fairly intuitive: New Account adds a user, Set Password adds or sets a password for a selected user, Disable Password removes a user's password (allowing VeriMaps only), Promote/Demote toggles administrative privileges, and Delete Account removes the account from the server's configuration.
Changes to user configuration are saved to disk when the server shuts down.
No comments:
Post a Comment