aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-07-19 18:02:02 +0100
committerMatthew Wild <mwild1@gmail.com>2022-07-19 18:02:02 +0100
commitc0b857e5fb2a670d0a7a6ef29977ee58528e842f (patch)
tree50ffd59d689316a0fccf34c38ea9b3fb907a5d79 /net/http.lua
parent77146aa4e7841eb5ca35cca28881d37eb53e5a96 (diff)
downloadprosody-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 'net/http.lua')
0 files changed, 0 insertions, 0 deletions