diff options
| author | 2019-11-21 15:49:08 +0000 | |
|---|---|---|
| committer | 2019-11-21 15:49:08 +0000 | |
| commit | 2dfc55fb9fa0a6cff1c24895f4c788149c3922a8 (patch) | |
| tree | d0979ab588a9f3f6bb6f2a2b43911a15eda72664 /modules/permissions/README.md | |
| parent | add a way to execute commands through bitbotd (use for master-password) (diff) | |
refactor permissions and allow hostmasks to be assigned to accounts
Diffstat (limited to 'modules/permissions/README.md')
| -rw-r--r-- | modules/permissions/README.md | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/modules/permissions/README.md b/modules/permissions/README.md deleted file mode 100644 index c18dcc8b..00000000 --- a/modules/permissions/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Permissions - -## Adding an admin user - -This is a little complex at the moment but it will get easier some time soon. - -### Registering user - -Join a channel that BitBot is in (he'll automatically join #bitbot with default -configuration) and then type - -> /msg <botnick> register <password> - -### Give * permission - -The `*` permission is a special permission that gives you completely unfettered -access to all of BitBot's functions. - -On IRC, send this to BitBot and take note of the ID response - -> /msg <botnick> myid - -Then take that ID and open the database in sqlite3 (default database location is -`databases/bot.db` - -> $ sqlite3 databases/bot.db - -And then insert your `*` permission - -> INSERT INTO user_settings VALUES (<id>, 'permissions', '["*"]'); - -(where `<id>` is the response from the `myid` command) - -### Authenticating - -To authenticate yourself as your admin user, use the following command - -> /msg <botnick> identify <password> |
