diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-07-19 18:02:02 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-07-19 18:02:02 +0100 |
commit | c0b857e5fb2a670d0a7a6ef29977ee58528e842f (patch) | |
tree | 50ffd59d689316a0fccf34c38ea9b3fb907a5d79 /plugins/mod_debug_stanzas/watcher.lib.lua | |
parent | 77146aa4e7841eb5ca35cca28881d37eb53e5a96 (diff) | |
download | prosody-c0b857e5fb2a670d0a7a6ef29977ee58528e842f.tar.gz prosody-c0b857e5fb2a670d0a7a6ef29977ee58528e842f.zip |
mod_authz_internal: Use util.roles, some API changes and config support
This commit was too awkward to split (hg record didn't like it), so:
- Switch to the new util.roles lib to provide a consistent representation of
a role object.
- Change API method from get_role_info() to get_role_by_name() (touches
sessionmanager and usermanager)
- Change get_roles() to get_user_roles(), take a username instead of a JID
This is more consistent with all other usermanager API methods.
- Support configuration of custom roles and permissions via the config file
(to be documented).
Diffstat (limited to 'plugins/mod_debug_stanzas/watcher.lib.lua')
0 files changed, 0 insertions, 0 deletions