James Lu
4eb0420378
permissions: only whitelist the defined login:user, not all accounts
...
It's possible for login:user and login:accounts to be used together, although this is discouraged.
2019-06-26 13:18:32 -07:00
James Lu
d0dff2c5ae
Move permission enumeration to runtime, fix default perms not applying at startup
...
Closes #542 .
2017-10-22 00:08:16 -07:00
James Lu
3b6c1e56c4
launcher: move reset_permissions() call into the permissions module
2017-08-16 11:21:06 -07:00
James Lu
4379ef68ef
Migrate coremods.permissions to snake case
2017-08-02 22:24:23 +08:00
James Lu
10bca676fc
coremods, plugins: migrate to snake case
2017-06-29 23:01:39 -07:00
James Lu
57aa844fcb
permissions: limit "login = admin access" to old-style (< 1.1) login blocks
2016-12-09 20:57:01 -08:00
James Lu
e903a8226a
permissions: move admin login clause into checkPermissions()
...
This is more persistent.
2016-08-31 13:32:42 -07:00
James Lu
556b388a4e
core: Rehashable permissions; import coremods on start
2016-08-25 12:07:55 -07:00
James Lu
6af8e77ee1
permissions: apply add/removeDefaultPermissions on the right list
2016-08-25 12:07:36 -07:00
James Lu
f890ddac1b
permissions, automode: work on default permissions & add example permissions config ( #190 )
...
- Fix possible type errors in add/removeDefaultPermissions by converting permlist values to sets.
- Fix wrong permission string being checked in automode.<command>.#channel
- automode: register and unregister default permissions on load/unload.
- permissions: add an 'also_show' argument to checkPermissions(), to display alternative permissions that weren't directly checked.
2016-08-25 11:45:57 -07:00
James Lu
b4b772354c
permissions: fix inverted permissions list lookup
2016-08-25 00:58:19 -07:00
James Lu
91e39b7df9
WIP Permissions API ( #190 )
2016-08-25 00:45:05 -07:00