sstephenson / hector

A private group chat server for people you trust
MIT License
131 stars 15 forks source link

Build administrative commands into Hector itself? #9

Closed clintecker closed 14 years ago

clintecker commented 14 years ago

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:

  1. On adduser, the user could be invited to the channel.
  2. On removeuser, the user could be force-part'd from said channel
  3. 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?