Build administrative commands into Hector itself?
clintecker opened this issue · comments
Clint Ecker commented
Would it be crazy to be able to add users and access controls through IRC itself, removing the need for a web interface all together—although one could be made at any time if it talked to our DB.
I'm thinking of "CREATEUSER ", "ADDUSER ", "REMOVEUSER ", DELETEUSER , "CHANGEPASSWORD ".
The upside is that the server could initiate the appropriate responses once the data is stored:
- On adduser, the user could be invited to the channel.
- On removeuser, the user could be force-part'd from said channel
- On deleteuser, the user could have their connection closed
The downside is that we'd have to implement a heirarchy of users, like ircops who can perform these actions, but maybe that's unavoidable?