-
Notifications
You must be signed in to change notification settings - Fork 215
Description
I have actually been working on something similar to this. It mainly just reads to yaml file in php and allows writing back to it. There is a composer feature for PHP/YAML that lets you read/write to YAML which should be pretty good for a config file edit/viewer. From that you can do a lot of config edits including operators and permissions. Passwords saved back through bcrypt.
I did stop working on it after having issues forcing a rehash but now that you guys have made use of the API for issuing a rehash I would definitely take a look back at it if someone wants to help?
I was also going to make sure to protect the logins through the yaml file using there oper user/pass to authenticate users to keep it simple.
The other thing on there as far as viewing users/ubans/ etc I had thought about doing something with the web socket as you can use websocket to connect, using sasl, and an oper (from the same user/oper account from reading the config/yaml file) and then you can just force the websock to display things a certain way or interact with the server over websock instead of having to build out to many custom functions.