sstephenson / hector

A private group chat server for people you trust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build administrative commands into Hector itself?

clintecker opened this issue · comments

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?