gordon-bot icon indicating copy to clipboard operation
gordon-bot copied to clipboard

Add permissions for only certain users

Open jessfraz opened this issue 10 years ago • 1 comments

jessfraz avatar Feb 12 '15 09:02 jessfraz

@jfrazelle this is something I'd like to implement in go-bot, I was thinking about something more generic so every plugin can have it easy, something like:

  • You specify one or more admins in the bot config (this admins must be authenticated with nickserv)
  • When registering the plugin, you can specify if the plugin requires permission or not
  • If the plugin requires permission, the admins then can add users, something like:
    • !auth allow <plugin> <user1> <user2> ...

But I'm still not sure about it, as it will require persistence which is another thing I'd like to abstract in the bot, so every plugin could persist data easily without reinventing the wheel every time.

Any thoughts about it?

fabioxgn avatar Sep 21 '15 12:09 fabioxgn